PubSub deprecation - add Kafka support

Description

This story covers the first part of the "Phase 1 implementation plan" described in the PubSub deprecation plan.

In scope:

  • Add Kafka default settings to the ModuleDescriptor.

  • Create Kafka topics using KafkaAdminClientService (refer to mod-inventory-storage). Most likely, this should be a part of the _tenant API.

  • Create services that would allow the module to act as a Kafka producer or consumer (or both, whichever is required). Make sure that they are testable, this would make it easy to rewrite tests that depend on the PubSub event matching.

Out of scope:

  • PubSub functionality removal

  • Producing and consuming Kafka messages

Note: This story is technical, there would be no visible results on the outside other than Kafka topics should be created when module starts.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Details

Assignee

Reporter

Priority

Story Points

Development Team

Vega

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 26, 2023 at 1:15 PM
Updated May 26, 2023 at 4:54 PM
TestRail: Cases
TestRail: Runs