massakam opened a new pull request #5777: [pulsar-client] Fix bug that 
beforeConsume() of interceptor is not called when receiver queue size is 0
URL: https://github.com/apache/pulsar/pull/5777
 
 
   ### Motivation
   
   I implemented `ConsumerInterceptor` and used it, but I noticed that the 
`beforeConsume()` method is not executed when the size of the receiver queue is 
0.
   
   ### Modifications
   
   If the receiver queue size is 0, an instance of `ZeroQueueConsumerImpl` 
class is created instead of `ConsumerImpl`, but `beforeConsume()` is not called 
in this class now. So I fixed `ZeroQueueConsumerImpl`.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to