Ewen Cheslack-Postava created KAFKA-4694:
--------------------------------------------

             Summary: Streams smoke tests fails when there is only 1 broker
                 Key: KAFKA-4694
                 URL: https://issues.apache.org/jira/browse/KAFKA-4694
             Project: Kafka
          Issue Type: Bug
          Components: streams
            Reporter: Ewen Cheslack-Postava
            Assignee: Eno Thereska


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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to