Details
-
Story
-
Status: Closed (View Workflow)
-
P1
-
Resolution: Done
-
None
-
-
Prokopovych - Sprint 118, Prokopovych - Sprint 119
-
3
-
Prokopovych
-
R1 2021 Hot Fix #3
-
Yes
Description
Purpose/Overview:
ENV and tenant id setting should be used in topic naming convention. This will separate data of different customers to different Kafka topics. In addition to that it allows a Kafka instance to be shared by multiple environments that have the same tenant id.
Requirements/Scope:
- Topic name should be concatenated from the following string constants (in exactly the same order):
- Environment name (from ENV environment variable)
- Tenant name (should be the second, because it is convenient to use wildcard in ACL for Kafka users)
- Producer module name ("storage" postfix should be omitted)
- Domain entity name in singular form (if it is not domain event, the name of process should be used or just event name)
Acceptance criteria:
All existing topics should be aligned.
For example topics in bugfest (ENV == bugfest) the Kafka topic for inventory instances for tenant fs09000000 should have the following name:
bugfest.fs09000000.inventory.instance
TestRail: Results
Attachments
Issue Links
- blocks
-
MODINVSTOR-745 Release 20.2.2
-
- Closed
-
- relates to
-
MODINVSTOR-738 Kafka Topics should use ENV variable and tenant id in their naming convention
-
- Closed
-
-
MODLDP-1 Kafka Topics should use ENV variable and tenant id in their naming convention
-
- Closed
-