[ 
https://issues.apache.org/jira/browse/KAFKA-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15836877#comment-15836877
 ] 

Matthias J. Sax commented on KAFKA-4625:
----------------------------------------

Good idea.

> Streams smoke tests fails when there is only 1 broker
> -----------------------------------------------------
>
>                 Key: KAFKA-4625
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4625
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Eno Thereska
>            Assignee: Eno Thereska
>             Fix For: 0.10.2.0
>
>
> 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