dao-jun commented on code in PR #878: URL: https://github.com/apache/pulsar-site/pull/878#discussion_r1573879880
########## docs/concepts-messaging.md: ########## @@ -427,6 +427,13 @@ Consumer<byte[]> consumer = pulsarClient.newConsumer() .subscribe(); ``` +:::note + +Send messages by synchronous API `send` will disable batching, and the message will be sent individually. Review Comment: Yes I know it, it's just that my statement is not accurate. How about change it to: ```txt Send messages by synchronous API `send` will trigger the batch to be sent immediately, even the batch is not full. It is for the purpose of reducing the latency of sending messages and preventing blocking of the caller's thread. ``` -- 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...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org