Skip to content

Commit

Permalink
Merge pull request #1 from pengxiangrui127/pengxiangrui127-patch-1
Browse files Browse the repository at this point in the history
[improve][client] Update MultiTopicsConsumerImpl.java
  • Loading branch information
pengxiangrui127 authored Dec 19, 2022
2 parents 0b5f31d + bfcbc77 commit 752a9c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,10 @@ protected CompletableFuture<Message<T>> internalReceiveAsync() {
} else {
decreaseIncomingMessageSize(message);
checkState(message instanceof TopicMessageImpl);
unAckedMessageTracker.add(message.getMessageId(), message.getRedeliveryCount());
resumeReceivingFromPausedConsumersIfNeeded();
unAckedMessageTracker.add(message.getMessageId(), message.getRedeliveryCount());
result.complete(message);
}
resumeReceivingFromPausedConsumersIfNeeded();
});
return result;
}
Expand Down

0 comments on commit 752a9c9

Please sign in to comment.