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

Streams smoke tests fails when there is only 1 broker

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.2.0
    • Component/s: streams
    • Labels:
      None

      Description

      The streams smoke test fails when we have a single broker since by default it requires a replication factor of 2. So in StreamsKafkaClient:createTopics we can get an INVALID_REPLICATION_FACTOR code.
      As part of this commit, it appears we do not check the number of brokers available and thus fail if there aren't enough brokers (check for getBrokers() in here: https://github.com/apache/kafka/commit/4b71c0bdc1acf244e3c96fa809a1a0e48471d586#diff-4320e27e72244cae71428533cf3582ef)

        Attachments

          Activity

            People

            • Assignee:
              enothereska Eno Thereska
              Reporter:
              ewencp Ewen Cheslack-Postava
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: