How to count messages on kafka without consuming them
Hi I want to learn about how can I check count of messages on kafka through java springboot without consuming them. I just want to count them and allow consumption only when certain number has exceeded. How can I do this ?