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
of implementation?

Thank you
Best, Jae

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB