Re: Setting topic's offset from the shell

2018-03-05 Thread Zoran
That should be it. Thank you very much. On 02/28/2018 06:59 PM, Manikumar wrote: we can use "kafka-consumer-groups.sh --reset-offsets" option to reset offsets. This is available from Kafka 0.11.0.0.. On Wed, Feb 28, 2018 at 2:59 PM, UMESH CHAUDHARY wrote: You might want to set group.id con

Re: Setting topic's offset from the shell

2018-03-04 Thread Zoran
The procedure you have suggested is good for replaying everything from the very beginning, but I would like to replay messages from an arbitrary offset. On the backend I have a ClickHouse table that listens Kafka topic with its group_id. In case of problems between ClickHouse table and Kafka

Re: Setting topic's offset from the shell

2018-02-28 Thread Manikumar
we can use "kafka-consumer-groups.sh --reset-offsets" option to reset offsets. This is available from Kafka 0.11.0.0.. On Wed, Feb 28, 2018 at 2:59 PM, UMESH CHAUDHARY wrote: > You might want to set group.id config in kafka-console-consumer (or in any > other consumer) to the value which you h

Re: Setting topic's offset from the shell

2018-02-28 Thread UMESH CHAUDHARY
You might want to set group.id config in kafka-console-consumer (or in any other consumer) to the value which you haven't used before. This will replay all available messages in the topic from start if you use --from-beginning in console consumer. On Wed, 28 Feb 2018 at 14:19 Zoran wrote: > Hi,

Setting topic's offset from the shell

2018-02-28 Thread Zoran
Hi, If I have a topic that has been fully read by consumers, how to set the offset from the shell to some previous value in order to reread again several messages? Regards.