shibd commented on PR #17318:
URL: https://github.com/apache/pulsar/pull/17318#issuecomment-1252092637

   > We should clean up the receiver queue when users invoke the 
redeliverUnacknowledgedMessages method?
   
   Yes, In this way, the epoch can be judged before offer the queue.  
@congbobo184 What do you think?
   
   > We can make them happen on a single thread. And we used the pinned thread 
to complete the receive message request
   
   We also have methods that are invoked directly, it doesn't use pinned thread.
   
   
https://github.com/apache/pulsar/blob/1df63495f3ba6244391cffefb4081e22371c9b4a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L441-L458
   
   
   


-- 
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]

Reply via email to