How not to keep track of commit offset with kafka

Hi,

I'm doing mostly testing on a logstash that consumes events from kafka.

I frequently stop the logstash and can restart it several hours or days later.

I don't want to keep track of the event offset because when I restart logstash after a long period of stop, I collect old events from 2 days ago.

What is the configuration for the kafka input plugin to restart with the latest event in the queue ?

Rhanks for your help.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.