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