Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Proper use of ConsumerConnector


Copy link to this message
-
Re: Proper use of ConsumerConnector
Neha Narkhede 2012-12-20, 18:14
> An alternative to using simpleconsumer in this use case is to use the
> zookeeper consumer connector and turn off auto commit.
>

Keep in mind that this works only if you don't care about controlling per
partition rewind capability.
The high level consumer will not give you control over which partitions
your consumer consumes and
which partitions it commits the offsets for. If you need to rewind
consumption for a subset of those partitions,
then ZookeeperConsumerConnector will not work for you.

Thanks,
Neha