Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What do you mean by graceful shutdown in Kafka?

Pragya Keshap answered on February 9, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • golang example graceful shutdown
  • What is graceful shutdown in Spring Boot?
  • golang example graceful shutdown
  • golang gracefull shutdown
  • Graceful shutdown kubernetes

  • What do you mean by graceful shutdown in Kafka?

    0

    The Apache cluster will automatically identify any broker shutdown or failure. In this

    instance, new leaders for partitions previously handled by that device will be chosen.

    This can happen as a result of a server failure or even if it is shut down for

    maintenance or configuration changes. When a server is taken down on purpose,

    Kafka provides a graceful method for terminating the server rather than killing it.

    When a server is switched off:

    To prevent having to undertake any log recovery when Kafka is restarted, it

    ensures that all of its logs are synced onto a disk. Because log recovery takes

    time, purposeful restarts can be sped up.

    Prior to shutting down, all partitions for which the server is the leader will be

    moved to the replicas. The leadership transfer will be faster as a result, and the

    period each partition is inaccessible will be decreased to a few milliseconds

    https://www.interviewbit.com/kafka-interview-questions/

    Popularity 2/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 09 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.