Graceful termination of kafka broker after draining all the data consumed
If I want to terminate kafka broker gracefully. Before termination, it
should stop receiving the traffic from producers and wait until all
data will be consumed.
I don't think that kafka 0.7.x is supporting this feature. If I want
to implement this feature for myself, could you give me a brief sketch