Re: consumer.poll() hangs indefinitely in docker container

2016-08-16 Thread Oleg Zhurakousky
It is accurate since it’s an API/implementation problem and therefore container independent. Sure if everything is configured correctly and broker is accessible then things do work, but try to shut down consumer when broker is not accessible. And when I mean shut down I am not implying shutting

Re: consumer.poll() hangs indefinitely in docker container

2016-08-16 Thread Jaikiran Pai
On Friday 12 August 2016 08:45 PM, Oleg Zhurakousky wrote: It hangs indefinitely in any container. I don't think that's accurate. We have been running Kafka brokers and consumers/producers in docker containers for a while now and they are functional. Of course, you need to make sure you use t

Re: consumer.poll() hangs indefinitely in docker container

2016-08-12 Thread Radoslaw Gruchalski
Is there a JIRA for it? Could you point to where the issue exists in the code? – Best regards, Radek Gruchalski ra...@gruchalski.com On August 12, 2016 at 5:15:33 PM, Oleg Zhurakousky ( ozhurakou...@hortonworks.com) wrote: It hangs indefinitely in any container. It’s a known issue and has been

Re: consumer.poll() hangs indefinitely in docker container

2016-08-12 Thread Oleg Zhurakousky
It hangs indefinitely in any container. It’s a known issue and has been brought up many times on this list, yet there is not fix for it. The problem is with the fact that while poll() attempts to create an elusion that it is async and even allows you to set a timeout it is essentially very misle