Re: Maintain kafka offset externally as Spark streaming processes records.

2016-05-24 Thread Cody Koeninger
Have you looked at everything linked from https://github.com/koeninger/kafka-exactly-once On Tue, May 24, 2016 at 2:07 PM, sagarcasual . wrote: > In spark streaming consuming kafka using KafkaUtils.createDirectStream, > there are examples of the kafka offset level ranges. However if > 1. I woul

Maintain kafka offset externally as Spark streaming processes records.

2016-05-24 Thread sagarcasual .
In spark streaming consuming kafka using KafkaUtils.createDirectStream, there are examples of the kafka offset level ranges. However if 1. I would like periodically maintain offset level so that if needed I can reprocess items from a offset. Is there any way I can retrieve offset of a message in rd