THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Alternatively, we could align documentation with the implementation and say that ReplicationBytes(Out|In)PerSec report only per broker metrics. I've actually already opened a PR for that. (I'll close the PR if this KIP is accepted)
Public Interfaces
MBean MBeans will change from current "as shown below:
Before | After |
---|---|
kafka.server:type=BrokerTopicMetrics,name=ReplicationBytesInPerSec |
...
kafka.server:type=BrokerTopicMetrics,name=ReplicationBytesInPerSec,topic=([-.\w]+) |
...
kafka.server:type=BrokerTopicMetrics,name=ReplicationBytesOutPerSec | kafka.server:type=BrokerTopicMetrics,name=ReplicationBytesOutPerSec,topic=([-.\w]+) |
Proposed Changes
Extend the current implementation of ReplicationBytes(Out|In)PerSec to include per-topic metrics.
...