Reputation: 851
I have requirement in kafka, want to read the messages from kafka which are already committed instead of all messages
Upvotes: 0
Views: 436
Reputation: 174799
With spring-kafka, implement ConsumerSeekAware
and you can seek to any offset you like during startup.
See the documentation.
Upvotes: 1