Kafka, mail # user - Re: log file flushing, flushall on clean shutdown... - 2013-03-28, 15:31
 Search Hadoop and all its subprojects:

Switch to Plain View
+
Jason Rosenberg 2013-03-28, 07:39
+
SuoNayi 2013-03-28, 08:47
+
Neha Narkhede 2013-03-28, 13:45
+
Jason Rosenberg 2013-03-28, 15:12
Copy link to this message
-
Re: log file flushing, flushall on clean shutdown...
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:
 
+
Jason Rosenberg 2013-03-28, 18:45
+
Neha Narkhede 2013-03-28, 21:19
+
Jason Rosenberg 2013-03-29, 02:09
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