You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by sha p <sh...@gmail.com> on 2016/02/11 08:15:23 UTC

My producer works topic is Par: 0 ,Lead:1, Rep:1, Isr:1 BUT NOT Par: 0 ,Lead:2, Rep:2, Isr:2

My producer works topic is Par: 0 ,Lead:1, Rep:1, Isr:1 BUT NOT Par: 0
,Lead:2, Rep:2, Isr:2

Hi,
  I have a kakfa cluster with 3 kafka nodes and 3 zk nodes.

The producer is on AWS machine trying to push data on my kafka cluster
running on my intranet servers.
When the topic (JOB_AWS_14) is created from console with  Partition: 0
 Leader: 1       Replicas: 1     Isr: 1  it works fine.

But where a topic( JOB_AWS_8)  is created with Partition: 0    Leader: 2
    Replicas: 2     Isr: 2 it is not working.
What settings went wrong and how to correct it.

Please help me.

]# bin/kafka-topics.sh --describe --zookeeper localhost:2181 --topic
JOB_AWS_14
Topic:JOB_AWS_14        PartitionCount:1        ReplicationFactor:1
Configs:
        Topic: JOB_AWS_14       Partition: 0    Leader: 1       Replicas: 1
    Isr: 1

# bin/kafka-topics.sh --describe --zookeeper localhost:2181 --topic
JOB_AWS_8
Topic:JOB_AWS_8 PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: JOB_AWS_8        Partition: 0    Leader: 2       Replicas: 2
    Isr: 2

thank you.
~Shyam