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

sijie 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 48ba9ad  [Docs] Fix the default values for auto-ack in the function 
CLI docs (#6755)
48ba9ad is described below

commit 48ba9ada8e3edbb24113df361ffa22152254e803
Author: Sergii Zhevzhyk <[email protected]>
AuthorDate: Fri Apr 17 19:23:36 2020 +0200

    [Docs] Fix the default values for auto-ack in the function CLI docs (#6755)
    
    ### Motivation
    
    The documentation contains wrong default values for the auto-ack field. As 
far as I can see from running functions and code, this value is set to true by 
default.
    
    ### Modifications
    
    The default value was changed from false to true in the documentation.
---
 site2/docs/functions-cli.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/site2/docs/functions-cli.md b/site2/docs/functions-cli.md
index 2c86326..36b9802 100644
--- a/site2/docs/functions-cli.md
+++ b/site2/docs/functions-cli.md
@@ -12,7 +12,7 @@ Run Pulsar Functions locally, rather than deploying it to the 
Pulsar cluster.
 
 Name | Description | Default
 ---|---|---
-auto-ack | Whether or not the framework acknowledges messages automatically. | 
false |
+auto-ack | Whether or not the framework acknowledges messages automatically. | 
true |
 broker-service-url | The URL for the Pulsar broker. | |
 classname | The class name of a Pulsar Function.| |
 client-auth-params | Client authentication parameter. | |
@@ -61,7 +61,7 @@ Create and deploy a Pulsar Function in cluster mode.
 
 Name | Description | Default
 ---|---|---
-auto-ack | Whether or not the framework acknowledges messages automatically. | 
false |
+auto-ack | Whether or not the framework acknowledges messages automatically. | 
true |
 classname | The class name of a Pulsar Function. |  |
 CPU | The CPU in cores that need to be allocated per function instance 
(applicable only to docker runtime).| |
 custom-runtime-options | A string that encodes options to customize the 
runtime, see docs for configured runtime for details | |
@@ -113,7 +113,7 @@ Update a Pulsar Function that has been deployed to a Pulsar 
cluster.
 
 Name | Description | Default
 ---|---|---
-auto-ack | Whether or not the framework acknowledges messages automatically. | 
false
+auto-ack | Whether or not the framework acknowledges messages automatically. | 
true |
 classname | The class name of a Pulsar Function. | |
 CPU | The CPU in cores that need to be allocated per function instance 
(applicable only to docker runtime). | |
 custom-runtime-options | A string that encodes options to customize the 
runtime, see docs for configured runtime for details | |

Reply via email to