kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: Controlled shutdown and "UnderReplicatedPartitions" state?
Date Tue, 03 Dec 2013 00:37:07 GMT
Using "controlled shut down" means Kafka will try first to migrate the
partition leaderships from the broker being shut down before really shut it
down so that the partitions will not be unavailable. Disabling it would
mean that during the time when the broker is done until the controller
noticed it and make other brokers leader of the partitions this broker
originally holds as leader, these partitions will be unavailable, hence
there will be an unavailability window.

More details, you can search "controlled.shutdown.enable" in


On Mon, Dec 2, 2013 at 4:23 PM, Nitzan Harel

> The default value for "controlled.shutdown.enable" is false.
> Does that mean that stopping a broker without a controlled shutdown and
> using a "kill ?9" might lead to an under "UnderReplicatedPartitions" state?

-- Guozhang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message