Re: How to disable auto commit for SimpleConsumer kafka 0.8.1

2016-12-10 Thread Ewen Cheslack-Postava
The simple consumer doesn't do auto-commit. It really only issues individual low-level Kafka protocol request types, so `commitOffsets` is the only way it should write offsets. Is it possible it crashed after the request was sent but before finishing reading the response? Side-note: I know you me

Fwd: How to disable auto commit for SimpleConsumer kafka 0.8.1

2016-12-06 Thread Anjani Gupta
I want to disable auto commit for kafka SimpleConsumer. I am using 0.8.1 version.For High level consumer, config options can be set and passed via consumerConfig as follows kafka.consumer.Consumer. createJavaConsumerConnector(this.consumerConfig); How can I achieve the same for SimpleConsumer? I m

How to disable auto commit for SimpleConsumer kafka 0.8.1

2016-12-06 Thread Anjani Gupta
I want to disable auto commit for kafka SimpleConsumer. I am using 0.8.1 version.For High level consumer, config options can be set and passed via consumerConfig as follows kafka.consumer.Consumer.createJavaConsumerConnector(this.consumerConfig); How can I achieve the same for SimpleConsumer? I ma