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/24 23:21:26 UTC

[jira] [Commented] (KAFKA-4625) Streams smoke tests fails when there is only 1 broker

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

Ewen Cheslack-Postava commented on KAFKA-4625:
----------------------------------------------

[~mjsax] [~enothereska] Something seems funky with this JIRA and https://issues.apache.org/jira/browse/KAFKA-4624. Should we just delete these (which seems to be possible as opposed to closing one) and recreate them? They seem unusable atm.

> 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)