michaeljmarshall opened a new pull request #13273:
URL: https://github.com/apache/pulsar/pull/13273


   ### Motivation
   
   In https://github.com/apache/pulsar/pull/13023, we updated the Java client's 
consumer listener logic to ensure correct ordering of messages received. We can 
simplify the logic for the variable named `executorQueueSize`. It can be 
`volatile` instead of `atomic` and it can be a boolean instead of an integer.
   
   ### Modifications
   
   * Rename `executorQueueSize` to `isListenerHandlingMessage` in 
`ConsumerBase` and make it `volatile` instead of `Atomic`
   * Remove unnecessary scheduling on `internalPinnedExecutor` in `ConsumerImpl`
   
   ### Verifying this change
   
   This is a trivial change.
   
   ### Does this pull request potentially affect one of the following parts:
   
   This is not a breaking change.
   
   ### Documentation
   - [x] `no-need-doc` 
     
   This is an internal change.
   
   
   
   


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