Re: Reading consumer offsets in Kafka 0.9.0 and later

2016-03-31 Thread Dana Powers
Hi Marcos, ConsumerMetadata* was renamed to GroupCoordinator* in 0.9 . the api protocol is unchanged. However, the new Java clients use non-blocking network channels. It looks like the example code may reference the deprecated, or soon-to-be-deprecated, Scala client. Rather than roll your own mo

Re: Reading consumer offsets in Kafka 0.9.0 and later

2016-03-31 Thread Jason Gustafson
Hi Marcos, We should really update that wiki! We renamed ConsumerMetadataRequest to GroupCoordinatorRequest in 0.9.0 because of the coordinator's more general role. You might also want to take a look at consumer-groups.sh, which is shipped with the release. -Jason On Thu, Mar 31, 2016 at 3:32 PM

Reading consumer offsets in Kafka 0.9.0 and later

2016-03-31 Thread Marcos Juarez
We're building an application to monitor our Kafka consumers, and since the offsets are now not stored in Zookeeper as before, I was trying to use the following example in the Kafka website: https://cwiki.apache.org/confluence/display/KAFKA/Committing+and+fetching+consumer+offsets+in+Kafka Howeve