asafm commented on code in PR #22390:
URL: https://github.com/apache/pulsar/pull/22390#discussion_r1623252356
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java:
##########
@@ -419,6 +420,8 @@ protected ConsumerImpl(PulsarClientImpl client, String
topic, ConsumerConfigurat
"The number of messages currently sitting in the consumer
receive queue", topic, attrs);
bytesPrefetchedGauge =
ip.newUpDownCounter("pulsar.client.consumer.receive_queue.size", Unit.Bytes,
"The total size in bytes of messages currently sitting in the
consumer receive queue", topic, attrs);
+ messageAvailablePermitsGauge =
ip.newUpDownCounter("pulsar.client.consumer.available_permits.count",
Review Comment:
Yes.
Also I didn't write that `size` is needed :) Only that we don't need
`.count` and added suggestion how to name it.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]