Skip to content

Commit

Permalink
[Docs] Fix the default values for auto-ack in the function CLI docs (a…
Browse files Browse the repository at this point in the history
…pache#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.
  • Loading branch information
vzhikserg authored Apr 17, 2020
1 parent df80086 commit 48ba9ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site2/docs/functions-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. | |
Expand Down Expand Up @@ -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 | |
Expand Down Expand Up @@ -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 | |
Expand Down

0 comments on commit 48ba9ad

Please sign in to comment.