You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by James Cheng <jc...@tivo.com> on 2016/03/20 09:00:27 UTC

What happens if controlled shutdown can't complete within controlled.shutdown.max.retries attempts?

The broker has the following parameters related to controlled shutdown:

controlled.shutdown.enable      Enable controlled shutdown of the server        boolean true            medium
controlled.shutdown.max.retries Controlled shutdown can fail for multiple reasons. This determines the number of retries when such failure happens      int     3               medium
controlled.shutdown.retry.backoff.ms    Before each retry, the system needs time to recover from the state that caused the previous failure (Controller fail over, replica lag etc). This config determines the amount of time to wait before retrying. long    5000            medium


If the broker attempts controlled shutdown and then fails, and this happens controlled.shutdown.max.retries number of times, what happens? Does it go back into active service and continue participating in the cluster, as if controlled shutdown never happened? Or does it do an uncontrolled shutdown?

Thanks,
-James


________________________________

This email and any attachments may contain confidential and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments) by others is prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete this email and any attachments. No employee or agent of TiVo Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo Inc. may only be made by a signed written agreement.