gaoran10 commented on a change in pull request #8347:
URL: https://github.com/apache/pulsar/pull/8347#discussion_r514286927
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Dispatcher.java
##########
@@ -115,4 +115,9 @@ default void cursorIsReset() {
default void acknowledgementWasProcessed() {
// No-op
}
+
+ default void addMessageToRedelivery(long ledgerId, long entryId) {
Review comment:
ok
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherSingleActiveConsumer.java
##########
@@ -73,9 +77,11 @@
private final ServiceConfiguration serviceConfig;
private volatile ScheduledFuture<?> readOnActiveConsumerTask = null;
+ LongPairSet messagesToRedeliver = new ConcurrentSortedLongPairSet(128, 2);
Review comment:
I'll fix this.
----------------------------------------------------------------
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]