Jason,

Our shutdown sequence in 0.7 is the following in KafkaServer.shutdown():

1. close socket channel
2. close log manager
2.1 for each log
2.2   flush last segment and close file channel

So, it does what you are suggesting. All unflushed data are supposed to be
written to disk on a clean shutdown.

Thanks,

Jun
On Thu, Mar 28, 2013 at 8:10 AM, Jason Rosenberg <[EMAIL PROTECTED]> wrote:
 
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