Nitzan Harel 2013-12-03, 00:23
-Re: Controlled shutdown and "UnderReplicatedPartitions" state?
Guozhang Wang 2013-12-03, 00:37
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?