diff --git a/docs/functions-cli.md b/docs/functions-cli.md index 7617ad092572..ffd751d4360e 100644 --- a/docs/functions-cli.md +++ b/docs/functions-cli.md @@ -55,7 +55,7 @@ You can configure a function by using a predefined YAML file. The following tabl | resources | [Resources](#resources) | N/A | N/A | | fqfn | String | `--fqfn` | The Fully Qualified Function Name (FQFN) of a function. | | windowConfig | [WindowConfig](#windowconfig) | N/A | N/A | -| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds). | +| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds).
**Note:** This value also sets the redelivery delay applied to negatively acknowledged messages. A function has no way to configure the two independently; the sink equivalent, `--negative-ack-redelivery-delay-ms`, has no counterpart for functions. Java functions apply both. Python functions apply the message timeout only ([#26411](https://github.com/apache/pulsar/issues/26411)), and Go functions apply the redelivery delay only. | | jar | String | `--jar` | The absolute path of the JAR file for a function (written in Java). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | py | String | `--py` | The absolute path of the main Python/Python wheel file for a function (written in Python). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | go | String | `--go` | The absolute path of the main Go executable binary for the function (written in Go). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | diff --git a/versioned_docs/version-4.0.x/functions-cli.md b/versioned_docs/version-4.0.x/functions-cli.md index 62c1ac4b7802..5da20968b8bd 100644 --- a/versioned_docs/version-4.0.x/functions-cli.md +++ b/versioned_docs/version-4.0.x/functions-cli.md @@ -55,7 +55,7 @@ You can configure a function by using a predefined YAML file. The following tabl | resources | [Resources](#resources) | N/A | N/A | | fqfn | String | `--fqfn` | The Fully Qualified Function Name (FQFN) of a function. | | windowConfig | [WindowConfig](#windowconfig) | N/A | N/A | -| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds). | +| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds).
**Note:** This value also sets the redelivery delay applied to negatively acknowledged messages. A function has no way to configure the two independently; the sink equivalent, `--negative-ack-redelivery-delay-ms`, has no counterpart for functions. Java functions apply both. Python functions apply the message timeout only ([#26411](https://github.com/apache/pulsar/issues/26411)), and Go functions apply neither. | | jar | String | `--jar` | The absolute path of the JAR file for a function (written in Java). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | py | String | `--py` | The absolute path of the main Python/Python wheel file for a function (written in Python). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | go | String | `--go` | The absolute path of the main Go executable binary for the function (written in Go). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | diff --git a/versioned_docs/version-4.2.x/functions-cli.md b/versioned_docs/version-4.2.x/functions-cli.md index 7617ad092572..36091590f02b 100644 --- a/versioned_docs/version-4.2.x/functions-cli.md +++ b/versioned_docs/version-4.2.x/functions-cli.md @@ -55,7 +55,7 @@ You can configure a function by using a predefined YAML file. The following tabl | resources | [Resources](#resources) | N/A | N/A | | fqfn | String | `--fqfn` | The Fully Qualified Function Name (FQFN) of a function. | | windowConfig | [WindowConfig](#windowconfig) | N/A | N/A | -| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds). | +| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds).
**Note:** This value also sets the redelivery delay applied to negatively acknowledged messages. A function has no way to configure the two independently; the sink equivalent, `--negative-ack-redelivery-delay-ms`, has no counterpart for functions. Java functions apply both. Python functions apply the message timeout only ([#26411](https://github.com/apache/pulsar/issues/26411)), and Go functions apply neither. | | jar | String | `--jar` | The absolute path of the JAR file for a function (written in Java). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | py | String | `--py` | The absolute path of the main Python/Python wheel file for a function (written in Python). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | go | String | `--go` | The absolute path of the main Go executable binary for the function (written in Go). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | diff --git a/versioned_docs/version-5.0.x/functions-cli.md b/versioned_docs/version-5.0.x/functions-cli.md index 7617ad092572..36091590f02b 100644 --- a/versioned_docs/version-5.0.x/functions-cli.md +++ b/versioned_docs/version-5.0.x/functions-cli.md @@ -55,7 +55,7 @@ You can configure a function by using a predefined YAML file. The following tabl | resources | [Resources](#resources) | N/A | N/A | | fqfn | String | `--fqfn` | The Fully Qualified Function Name (FQFN) of a function. | | windowConfig | [WindowConfig](#windowconfig) | N/A | N/A | -| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds). | +| timeoutMs | Long | `--timeout-ms` | The message timeout (in milliseconds).
**Note:** This value also sets the redelivery delay applied to negatively acknowledged messages. A function has no way to configure the two independently; the sink equivalent, `--negative-ack-redelivery-delay-ms`, has no counterpart for functions. Java functions apply both. Python functions apply the message timeout only ([#26411](https://github.com/apache/pulsar/issues/26411)), and Go functions apply neither. | | jar | String | `--jar` | The absolute path of the JAR file for a function (written in Java). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | py | String | `--py` | The absolute path of the main Python/Python wheel file for a function (written in Python). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). | | go | String | `--go` | The absolute path of the main Go executable binary for the function (written in Go). It also supports URL paths that workers can download the package from, including HTTP, HTTPS, file (file protocol assuming that file already exists on worker host), and function (package URL from packages management service). |