Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13281 Support live upgrades with dynamic addition/removal of modular topologies
  3. KAFKA-13713

Tech Debt: keep StreamThread and TopologyMetadata's view of the topology in sync

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams
    • None

    Description

      Currently when the topology is modified via an add/remove request, we immediately update the TopologyMetadata with the new/removed topology and then register listeners for each request so we can complete it once all threads have ack'ed the corresponding update, ie upgraded to that minimum topology version.

       For consistency we should consider trying to keep the topology on the minimum common version across all (live/active group member) threads. Once a thread notices a topology update has been queued, it will update its own view and bump it to the latest topology version. We then check if the minimum common topology version has increased and then upgrade the official topology as tracked by the TopologyMetadata if so.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ableegoldman A. Sophie Blee-Goldman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: