sarama
sarama copied to clipboard
In my service,can I need to keep the consumers offset?
Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama | Kafka | Go |
---|---|---|
lasted | kafka_2.13-3.1.0 | 1.16 |
Configuration
What configuration values are you using for Sarama and Kafka?
Problem Description
if my kafka consumer is down, When I start the consumer, I don't want consumers to start reading from the latest offset, can I need in my service record is a consumer spending offset? if not need,What should I do? Please forgive my poor English.
If you're using the consumer group functionality, Kafka will track your committed offset(s) for you. When your consumer group goes down and comes back again, it will start reading from the last committed offset that it saw, not the latest offset.
Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.