codelipenghui commented on issue #4621: [PIP-38] Support batch receive in java 
client.
URL: https://github.com/apache/pulsar/pull/4621#issuecomment-524144591
 
 
   @rocketraman 
   
   The semantics is `exactly 10` if use the policy below: 
   ```
   BatchReceivePolicy.builder().maxNumMessages(10).build();
   ```
   The semantics is `10 or less` if use the policy below:  
   ```
   BatchReceivePolicy.builder().maxNumMessages(10).timeout(50, 
TimeUnit.MILLISECONDS).build();
   ```
   
   Currently there is no `10 or more` semantics.

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


With regards,
Apache Git Services

Reply via email to