...
This KIP is related to KIP-4, KAFKA-1367 and KAFKA-2406. In the future, all the Kafka clients and admin tools will not access zookeeper directly. Therefore KAFKA-1367 was introduced to propagate the ISR change to all the brokers to sync up topic metadata on brokers. The approach is to create a ZK path to notify controller update ISR and send UpdateMetadataRequest to brokers. The issue is during a broker bounce or failure, the amount of ISR change are huge and overwhelm the controller. This KIP is to introduce a new config to batch the ISR update and throttle the ISR propagation rate.
Public Interfaces
Code Block | ||
---|---|---|
| ||
val IsrChangePropagateIntervalMsProp = "isr.change.report.interval.ms" |
...
val IsrChangePropagateIntervalMsDoc = "Specify the interval to propagate ISR change to the entire cluster." + "The ISR propagation involves zookeeper |
...
path creation. Propagating ISR" + " change too frequently might cause performance issue." |
Default value for the config will be set to 5 seconds.
...