I would like to use a kafka command that gets the total number of messages that were published to a kafka topic during an interval of time (ideally 1 minute). Does a command like this exists? Preferably in an efficient way to get the count, without having to fetch the content of the messages to then count them for example.
Im thinking kafka-console-consumer.sh could help