Anonymitaet commented on a change in pull request #7018:
URL: https://github.com/apache/pulsar/pull/7018#discussion_r430308755



##########
File path: site2/docs/concepts-messaging.md
##########
@@ -49,14 +49,15 @@ Messages published by producers can be compressed during 
transportation in order
 
 ### Batching
 
-If batching is enabled, the producer will accumulate and send a batch of 
messages in a single request. Batch size is defined by the maximum number of 
messages and maximum publish latency.
+When batching is enabled, the producer accumulates and sends a batch of 
messages in a single request. The batch size is defined by the maximum number 
of messages and the maximum publish latency. Therefore, the backlog size 
represents the the total number of batches instead of the total number of 
messages.

Review comment:
       ```suggestion
   When batching is enabled, the producer accumulates and sends a batch of 
messages in a single request. The batch size is defined by the maximum number 
of messages and the maximum publish latency. Therefore, the backlog size 
represents the total number of batches instead of the total number of messages.
   ```




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to