Re: Problem when using ConsumerIterator

2013-12-11 Thread Vincent Rischmann
Le 11/12/2013 17:09, Jun Rao a écrit : Yes, this seems to be a bug in javaapi, could you file a jira? Normally, a consumer will create a stream once and keep iterating on the stream. The connection to ZK happens when the consumer connector is created. The connection to the brokers happens after

Re: Problem when using ConsumerIterator

2013-12-11 Thread Jun Rao
Yes, this seems to be a bug in javaapi, could you file a jira? Normally, a consumer will create a stream once and keep iterating on the stream. The connection to ZK happens when the consumer connector is created. The connection to the brokers happens after the creation of the stream. Thanks, Jun

Re: Problem when using ConsumerIterator

2013-12-11 Thread Vincent Rischmann
Le 11/12/2013 10:34, Vincent Rischmann a écrit : Hello, I am writing a simple program in Java using the Kafka 0.8.0 jar compiled with Scala 2.10. I have designed my program with a singleton class which holds a map of (consumer group, ConsumerConnector) and a map of (topic, Producer). This si