You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Davide Brambilla <da...@moviri.com> on 2014/11/26 07:44:06 UTC
Re: Kafka High Level Consumer Connector shuts down after 10 seconds
Hi,
you are programatically shutting down the executor after 10 seconds
try {
Thread.sleep(10000);
} catch (InterruptedException ie) {
}
example.shutdown();
if you do not execute this code your threads will run forever.
Davide B.
----------------------------------------------------------------------------------------
Davide Brambilla
ContentWise R&D
Moviri
davide.brambilla@moviri.com
phone: +39 02 49517001 mobile: 345 71 13 800
Moviri S.p.A. - Via Schiaffino, 11 - 20158 Milano (MI) – ITALY