Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-4137

Replace Kafka Bridge service to a more reliable service for component tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • CI/Infrastructure
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • subs-swatch-lightning

      At the moment, we use Kafka Bridge to:

      • receive messages that were sent by our SWATCH services
      • send messages to topics

      The problem is that to receive/send messages, we need to create a new consumer instance and a consumer group using the API that Kafka Bridge exposes, and then Kafka needs to reconcile these consumers which is causing flakiness to the component tests.

      Note that we can't directly run commands to execute the Kafka scripts in the Kafka pod because we don't have privileges to do so in an ephemeral environment.

      Some alternatives are:

      • Expose a custom API in our services (only in DEV mode and in ephemeral) to send a message to a kafka topic / to get all the messages that the service sends.
      • Speak with Clowder team to allow run commands to the kafka component

      Acceptance Criteria

      • Investigate alternatives to Kafka Bridge to the use cases mentioned above.
      • Document with the analysis and share it with the team

              Unassigned Unassigned
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: