Re: Replays message in Kafka topics with FlinkKafkaConsumer09

2016-04-22 Thread Aljoscha Krettek
Hi, I think the "auto.offset.reset" parameter is only used if your consumer never read from a topic. To simulate being a new consumer you can set " group.id" property to a new random value. Cheers, Aljoscha On Fri, 22 Apr 2016 at 03:10 Jack Huang wrote: > Hi all, > > I am trying to force my j

Replays message in Kafka topics with FlinkKafkaConsumer09

2016-04-21 Thread Jack Huang
Hi all, I am trying to force my job to reprocess old messages in my Kafka topics but couldn't get it to work. Here is my FlinkKafkaConsumer09 setup: val kafkaProp = new Properties() kafkaProp.setProperty("bootstrap.servers", "localhost:6667") kafkaProp.setProperty("auto.offset.reset", "earliest")