G SriHAri
G SriHAri

Reputation: 851

How to read the messages from kafka which are already committed

I have requirement in kafka, want to read the messages from kafka which are already committed instead of all messages

Upvotes: 0

Views: 436

Answers (1)

Gary Russell
Gary Russell

Reputation: 174799

With spring-kafka, implement ConsumerSeekAware and you can seek to any offset you like during startup.

See the documentation.

Upvotes: 1

Related Questions