You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2017/01/25 00:50:27 UTC
[jira] [Created] (KAFKA-4694) Streams smoke tests fails when there
is only 1 broker
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)