BewareMyPower commented on code in PR #20750:
URL: https://github.com/apache/pulsar/pull/20750#discussion_r1262005108
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBase.java:
##########
@@ -193,6 +194,11 @@ protected ConsumerBase(PulsarClientImpl client, String
topic, ConsumerConfigurat
initReceiverQueueSize();
}
+ @VisibleForTesting
+ public UnAckedMessageTracker getUnAckedMessageTracker() {
+ return unAckedMessageTracker;
+ }
+
Review Comment:
There is no need to make it public only for tests. You can remove the
`public` here and add back the `getUnAckedMessageTracker` to `ConsumerImpl`.
--
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]