You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by wa...@apache.org on 2022/07/08 20:33:17 UTC

[pulsar] branch master updated: [fix][doc] Add doc for `ackReceiptEnabled` config (#16465)

This is an automated email from the ASF dual-hosted git repository.

wave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 37214911a6d [fix][doc] Add doc for `ackReceiptEnabled` config (#16465)
37214911a6d is described below

commit 37214911a6dd08da7e13c87a0005fc4649f37e07
Author: Cong Zhao <zh...@apache.org>
AuthorDate: Sat Jul 9 04:33:12 2022 +0800

    [fix][doc] Add doc for `ackReceiptEnabled` config (#16465)
    
    * add doc for `ackReceiptEnabled`
    
    * improve doc
---
 site2/docs/client-libraries-java.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/site2/docs/client-libraries-java.md b/site2/docs/client-libraries-java.md
index 2a3593af2f0..71af800a6e4 100644
--- a/site2/docs/client-libraries-java.md
+++ b/site2/docs/client-libraries-java.md
@@ -743,6 +743,7 @@ When you create a consumer, you can use the `loadConf` configuration. The follow
 `autoAckOldestChunkedMessageOnQueueFull`|boolean|Whether to automatically acknowledge pending chunked messages when the threashold of `maxPendingChunkedMessage` is reached. If set to `false`, these messages will be redelivered by their broker. |true
 `maxPendingChunkedMessage`|int| The maximum size of a queue holding pending chunked messages. When the threshold is reached, the consumer drops pending messages to optimize memory utilization.|10
 `expireTimeOfIncompleteChunkedMessageMillis`|long|The time interval to expire incomplete chunks if a consumer fails to receive all the chunks in the specified time period. The default value is 1 minute. | 60000
+`ackReceiptEnabled`|boolean| If `ackReceiptEnabled` is enabled, ACK returns a receipt. The message is resent after getting the receipt.
 
 You can configure parameters if you do not want to use the default configuration. For a full list, see the Javadoc for the {@inject: javadoc:ConsumerBuilder:/client/org/apache/pulsar/client/api/ConsumerBuilder} class.