Hi guys,
I am having some confusion around 2 Kafka metrics:
*Request rate.*
kafka.network:type=RequestMetrics,name=RequestsPerSec,request={Produce|FetchConsumer|FetchFollower}
*Produce request rate.*
kafka.server:type=BrokerTopicMetrics,name=TotalProduceRequestsPerSec
https://docs.confluent.io/platform/current/kafka/monitoring.html#server-metrics
They seem to be tracking the same, but when I graph them and say I pick
Producer. The numbers are different.
and looks like
*Produce request rate.*
kafka.server:type=BrokerTopicMetrics,name=TotalProduceRequestsPerSec
seems to be the accurate one matching the number of messages sent with no
batching.
Shouldn't both metrics indicate the same?
Thanks!