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

Wait for consistent kraft metadata when creating topics in tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.7.0
    • None
    • None

    Description

      Tests occasionally flake when not retrying stale metadata in KRaft mode.
      I suspect that the root cause is because TestUtils.createTopicWithAdmin waits for partitions to be present in the metadata cache but does not wait for the metadata to be fully published to the broker.

      Attachments

        Activity

          People

            david.mao David Mao
            david.mao David Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: