leadership election timing on kafka broker failure

2020-03-25 Thread Larry Hemenway
All, We're experimenting with what happens in the event of a Kafka broker failure and we're seeing it take up to ~10 seconds for leadership to switch over. We've been unable to figure out if there are some parameters to tighten this timing. Are there broker config parameters that affect this timi

Re: leadership election timing on kafka broker failure

2020-03-26 Thread Larry Hemenway
elationId 5 from controller 1 epoch 9 for the become-leader transition for partition nsm2app-0 (state.change.logger) [data-plane-kafka-request-handler-2] So this run was ~7+ seconds, but some runs are faster - probably in cases the controlling broker doesn't move, and a few are a bit slower