Was just reading about Controlled Shutdown here:

Is this something that can be invoked from code, from within a container
running the KafkaServer?

Currently I launch kafka.server.KafkaServer directly from our java app
container.  This allows it to play nice within our deployment system for
rolling restarts, graceful shutdown, etc.

It seems I should now be calling kafka.admin.ShutdownBroker before calling
KafkaServer.shutdown.  Is that right?  Will it work for this to happen in
the same process?

Is there a reason why this wouldn't be automatic from within



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