mattisonchao commented on a change in pull request #9970:
URL: https://github.com/apache/pulsar/pull/9970#discussion_r816346949
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
##########
@@ -1691,12 +1692,12 @@ protected void completeOpBatchReceive(OpBatchReceive<T>
op) {
initDeadLetterProducerIfNeeded();
List<MessageImpl<T>> finalDeadLetterMessages = deadLetterMessages;
MessageIdImpl finalMessageId = messageId;
- deadLetterProducer.thenAccept(producerDLQ -> {
+ deadLetterProducer.thenAcceptAsync(producerDLQ -> {
Review comment:
Why do we use a common pool to run the next logic?
--
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]