optiopay / kafka

Go driver for Kafka

Home Page:https://godoc.org/github.com/optiopay/kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get offset of last consumed message?

sunilmaiya opened this issue · comments

Where is the offset of last message consumed stored.
My consumer and producers are different scripts. If my consumer dies, producer will still produce messages.
I wouldn't want to consume everything from beginning. So I am planning to have a one time function call to consume all the older messages.