Re: Can't re-process topic

2017-05-17 Thread João Peixoto
I'm not too familiar with Spark but the "earliest"/"latest" configuration is only relevant if your consumer does not hold a valid offset. If you read up to offset N, when you restart you'll start from N. If you start a new consumer then it has no offset, that's when the above configuration takes e

Can't re-process topic

2017-05-17 Thread Marcelo Oikawa
Hi, list. I'm trying to re-process a topic in Kafka but when I request for earliest offsets. The code below always returns the same value as latest offsets (if I replace OffsetRequest.EarliestTime() to OffsetRequest.LatestTime()). Is there something that I missing? I'm pretty sure that this code