rgroothuijsen commented on a change in pull request #8664:
URL: https://github.com/apache/kafka/pull/8664#discussion_r436973523
##########
File path:
clients/src/main/java/org/apache/kafka/clients/producer/internals/SenderMetricsRegistry.java
##########
@@ -84,7 +84,7 @@ public SenderMetricsRegistry(Metrics metrics) {
this.batchSizeMax = createMetricName("batch-size-max",
"The max number of bytes sent per partition per-request.");
this.compressionRateAvg = createMetricName("compression-rate-avg",
- "The average compression rate of record batches.");
+ "The average compressed-to-uncompressed size ratio of record
batches.");
Review comment:
I was in fact going for brevity with my approach, but if more detail
will mean increased clarity for the user then I'm all for it. With the way
you've defined it, I think there can be little question regarding the meaning.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]