Uploaded image for project: 'mod-remote-storage'
  1. mod-remote-storage
  2. MODRS-76

R1 Hotfix -> R2 Bugfix - Kafka Topics should use ENV variable and tenant id in their naming convention

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.3.0
    • None
    • Thunderjet/Firebird Back-end Story Template
    • 0
    • Firebird
    • R2 2021 Bugfix
    • 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:

      1. Topic name should be concatenated from the following string constants (in exactly the same order):
        1. Environment name (from ENV environment variable)
        2. Tenant name (should be the second, because it is convenient to use wildcard in ACL for Kafka users)
        3. Producer module name ("storage" postfix should be omitted)
        4. 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

            Activity

              People

                khandramai Viachaslau Khandramai
                mikhail.fokanov Mikhail Fokanov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases