Kafka topic Read only not to consume messages

Hi All,
I have a requirement to implement a reporting tool which will read only new messages but not to consume messages from kafka topic it should not have any impact on existing flow.

Could you please advise how i can do this using java springboot.


you can override auto commit to False and set consumer group offset to latest.