kafka
kafka copied to clipboard
KAFKA-16731: Added share group metrics class.
What
- Added ShareGroupMetrics inner class to SharePartitionManager.
- Added code to record metrics at various checkpoints in code.
Why
- We want to record the shareAcknowledgement rate and count as well as partition load time max and average.
Testing
- Updated test to verify partition load metrics.
- Added new test for shareAcknowledgement.