BewareMyPower commented on a change in pull request #14037:
URL: https://github.com/apache/pulsar/pull/14037#discussion_r795149425



##########
File path: site2/docs/client-libraries-java.md
##########
@@ -404,6 +423,22 @@ consumer.acknowledge(messages)
 >     .build();
 > ```
 
+### Configure chunking
+
+You can limit the maximum number of chunked messages a consumer maintains 
concurrently by configuring the `maxPendingChunkedMessage` and 
`autoAckOldestChunkedMessageOnQueueFull` parameter. When the threshold is 
reached, the consumer drops pending messages by silently acknowledging them or 
asking the broker to redeliver them later. The 
`expireTimeOfIncompleteChunkedMessage` parameter decides the time interval to 
expire incomplete chunks if the consumer fails to receive all chunks of a 
message within the specified time period.

Review comment:
       ```suggestion
   You can limit the maximum number of chunked messages a consumer maintains 
concurrently by configuring the `maxPendingChunkedMessage` and 
`autoAckOldestChunkedMessageOnQueueFull` parameters. When the threshold is 
reached, the consumer drops pending messages by silently acknowledging them or 
asking the broker to redeliver them later. The 
`expireTimeOfIncompleteChunkedMessage` parameter decides the time interval to 
expire incomplete chunks if the consumer fails to receive all chunks of a 
message within the specified time period.
   ```




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to