Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.7, 0.8.0
-
None
-
None
-
None
Description
Currently, LogManager wraps KafkaZooKeeper which is meant for all zookeeper interaction of a Kafka server. With replication, KafkaZookeeper will handle leader election, various state change listeners and then start replicas. Due to interdependency between LogManager and KafkaZookeeper, starting replicas is not possible until LogManager starts up completely. Due to this, we have to separate the broker startup procedures required for replication to get around this problem.
It will be good to refactor and clean up the server code, before diving deeper into replication.
Attachments
Attachments
Issue Links
- blocks
-
KAFKA-45 Broker startup, leader election, becoming a leader/follower for intra-cluster replication
- Resolved