When and how often does Kafka Producer elect a leader?(During elect a leader my kafka cluster does not handle new message)
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/59577629-acdd-4d83-9dab-1c3c9fbf785a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Under stable state there wouldn't be any leader election. Generally you only need to elect a leader if:a) the current leader dies (crashes, network partition, etc) and a new leader needs to be selectedb) the "preferred leader" broker is not currently the leader. the preferred leader is just the first replica in the replica list. this only occurs if auto.leader.rebalance.enable=true or if you invoke the kafka-preferred-replica-election script-Ewen
On Tue, Jul 18, 2017 at 1:26 AM, Igor Ikarus <adm...@gmail.com> wrote:
When and how often does Kafka Producer elect a leader?(During elect a leader my kafka cluster does not handle new message)
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.