lhotari opened a new pull request #8381:
URL: https://github.com/apache/pulsar/pull/8381


   ### Motivation
   
   In the current implementation, each Reader implementation wraps a Consumer 
implementation. 
   By default, the consumer implementation will use a BatchReceivePolicy that 
triggers a task every 100 milliseconds.
   Since the Reader implementation doesn't use the batch receiving 
functionality, it's more efficient to disable the timer.
   
   ### Modifications
   
   The the timeout is set to 0 for BatchReceivePolicy used for internal 
consumer of the Reader implementation.
   This disables the timer that would get called every 100ms by default just 
for nothing.


----------------------------------------------------------------
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:
[email protected]


Reply via email to