Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12318

system tests need to fetch Topic IDs via Admin Client instead of via ZooKeeper

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.8.0
    • Fix Version/s: None
    • Component/s: system tests
    • Labels:
      None

      Description

      https://github.com/apache/kafka/commit/86b9fdef2b9e6ef3429313afbaa18487d6e2906e#diff-2b222ad67f56a2876410aba3eeecd78e8b26217192dde72a035c399dc4d3988bR1033-R1052 introduced a topic_id() function in the system tests. This function is currently coded to talk directly to ZooKeeper. This will be a problem when running a Raft-based metadata quorum – ZooKeeper won't be available. This method needs to be rewritten to leverage the Admin Client.

      This does not have to be fixed in 2.8 – the method is only used in upgrade/downgrade-related system tests, and those system tests aren't being performed for Raft-based metadata quorums in the release (Raft-based metadata quorums will only be alpha/preview functionality at that point with upgrades/downgrades unsupported). But it probably will have to be fixed for the next release after that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jolshan Justine Olshan
                Reporter:
                rndgstn Ron Dagostino
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: