Hi,
you are programatically shutting down the executor after 10 seconds
try {
Thread.sleep(1);
} catch (InterruptedException ie) {
}
example.shutdown();
if you do not execute this code your threads will run forever.
Davide B.
*Subject*
Re: Kafka High Level Consumer Connector shuts down after 10 seconds
*Date*
Mon, 10 Mar 2014 16:48:31 GMT
Session termination can happen either when client or zookeeper process
pauses (due to GC) or when the client process terminates. A sustainable
solution is to tune GC settings
Narkhede neha.narkh...@gmail.com
*Subject*
Re: Kafka High Level Consumer Connector shuts down after 10 seconds
*Date*
Mon, 10 Mar 2014 16:48:31 GMT
Session termination can happen either when client or zookeeper process
pauses (due to GC) or when the client process terminates. A sustainable
Session termination can happen either when client or zookeeper process
pauses (due to GC) or when the client process terminates. A sustainable
solution is to tune GC settings. For now, you can try increasing the
zookeeper.session.timeout.ms.
On Sun, Mar 9, 2014 at 3:44 PM, Ameya Bhagat