CodingOX commented on issue #7986:
URL: https://github.com/apache/rocketmq/issues/7986#issuecomment-2041372216

   > Can you describe what scenario requires about setting setAwaitDuration 
below 20 seconds.
   
   In my understanding, the `awaitDuration` parameter allows me to fetch 
messages more promptly. During periods of low business activity, when a 
particular message is highly important yet the number of such messages may fall 
short of the `maxMessageNum` threshold (which stems from the 
`org.apache.rocketmq.client.apis.consumer.SimpleConsumer#receive(maxMessageNum, 
duration)` call), this parameter ensures a swift return nonetheless.


-- 
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: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to