This might work OK for 0.7 but you might run into trouble with 0.8 when
replication is enabled. Make sure you test all the different scenarios for
failure. See the previous discussion thread "Kafka 0.8 Failover Behavior".
Let us know how it works for you.
On 6/24/13 4:21 AM, "Hanish Bansal" <[EMAIL PROTECTED]>
>I am implementing autostart service for kafka which will check kafka's
>state If kafka is not running it will autostart kafka process.
>I also want to check whether Kafka is running or in unresponsive state. If
>kafka is in unresponsive state how to determine that?
>Is there any chances that kafka is running but not giving any response for
>Any suggestion will be helpful.
>*Thanks & Regards*