You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Scoville, Tyler" <ts...@cardlytics.com> on 2017/04/06 17:21:36 UTC

issues with leader election

HI,

I ran into an issue with kafka where the leader was set to -1 :

Topic:AP-100    PartitionCount:5        ReplicationFactor:3     Configs:retention.ms=1579929985
        Topic: AP-100  Partition: 0    Leader: 26      Replicas: 26,24,25      Isr: 24,26,25
        Topic: AP-100   Partition: 1    Leader: 22      Replicas: 22,25,26      Isr: 22,26,25
        Topic: AP-100   Partition: 2    Leader: 23      Replicas: 23,26,22      Isr: 26,22,23
        Topic: AP-100   Partition: 3    Leader: 24      Replicas: 24,22,23      Isr: 24,22,23
        Topic: AP-100   Partition: 4    Leader: -1      Replicas: 25,23,24      Isr: 24

What is the best way to fix this?

Thank you,

Tyler Scoville