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

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 52a4676452e Docs sync done from apache/pulsar (#de43ad0)
52a4676452e is described below

commit 52a4676452e946a3ef140c27eba587d5f85a4ac9
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Feb 25 01:38:57 2023 +0000

    Docs sync done from apache/pulsar (#de43ad0)
---
 static/reference/next/pulsar-admin/functions.md | 3 +++
 static/swagger/master/swaggerfunctions.json     | 3 +++
 static/swagger/master/v3/swaggerfunctions.json  | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/static/reference/next/pulsar-admin/functions.md 
b/static/reference/next/pulsar-admin/functions.md
index 1e9598bcc82..3c4effc0a67 100644
--- a/static/reference/next/pulsar-admin/functions.md
+++ b/static/reference/next/pulsar-admin/functions.md
@@ -35,6 +35,7 @@ $ pulsar-admin functions localrun options
 | `--ram` | The ram in bytes that need to be allocated per function 
instance(applicable only to process/docker runtime)|null|Java(Process & 
K8s),Python(K8s),Go(K8s)|
 | `--function-config-file` | The path to a YAML config file that specifies the 
configuration of a Pulsar Function|null|Java, Python, Go|
 | `--subs-name` | Pulsar source subscription name if user wants a specific 
subscription-name for input-topic consumer|null|Java, Python, Go|
+| `--skip-to-latest` | Whether or not the consumer skip to latest message upon 
function instance restart|null||
 | `--use-tls` | Use tls connection|false|Java, Python|
 | `--dead-letter-topic` | The topic where messages that are not processed 
successfully are sent to|null|Java|
 | `-i, --inputs` | The input topic or topics (multiple topics can be specified 
as a comma-separated list) of a Pulsar Function|null|Java, Python, Go|
@@ -109,6 +110,7 @@ $ pulsar-admin functions create options
 | `--ram` | The ram in bytes that need to be allocated per function 
instance(applicable only to process/docker runtime)|null|Java(Process & 
K8s),Python(K8s),Go(K8s)|
 | `--function-config-file` | The path to a YAML config file that specifies the 
configuration of a Pulsar Function|null|Java, Python, Go|
 | `--subs-name` | Pulsar source subscription name if user wants a specific 
subscription-name for input-topic consumer|null|Java, Python, Go|
+| `--skip-to-latest` | Whether or not the consumer skip to latest message upon 
function instance restart|null||
 | `--dead-letter-topic` | The topic where messages that are not processed 
successfully are sent to|null|Java|
 | `-i, --inputs` | The input topic or topics (multiple topics can be specified 
as a comma-separated list) of a Pulsar Function|null|Java, Python, Go|
 | `--auto-ack` | Whether or not the framework acknowledges messages 
automatically|null|Java, Python, Go|
@@ -190,6 +192,7 @@ $ pulsar-admin functions update options
 | `--ram` | The ram in bytes that need to be allocated per function 
instance(applicable only to process/docker runtime)|null|Java(Process & 
K8s),Python(K8s),Go(K8s)|
 | `--function-config-file` | The path to a YAML config file that specifies the 
configuration of a Pulsar Function|null|Java, Python, Go|
 | `--subs-name` | Pulsar source subscription name if user wants a specific 
subscription-name for input-topic consumer|null|Java, Python, Go|
+| `--skip-to-latest` | Whether or not the consumer skip to latest message upon 
function instance restart|null||
 | `--dead-letter-topic` | The topic where messages that are not processed 
successfully are sent to|null|Java|
 | `-i, --inputs` | The input topic or topics (multiple topics can be specified 
as a comma-separated list) of a Pulsar Function|null|Java, Python, Go|
 | `--auto-ack` | Whether or not the framework acknowledges messages 
automatically|null|Java, Python, Go|
diff --git a/static/swagger/master/swaggerfunctions.json 
b/static/swagger/master/swaggerfunctions.json
index 802a1152c0b..2f2c1279d9d 100644
--- a/static/swagger/master/swaggerfunctions.json
+++ b/static/swagger/master/swaggerfunctions.json
@@ -381,6 +381,9 @@
                     },
                     "type": "object"
                 },
+                "skipToLatest": {
+                    "type": "boolean"
+                },
                 "subName": {
                     "type": "string"
                 },
diff --git a/static/swagger/master/v3/swaggerfunctions.json 
b/static/swagger/master/v3/swaggerfunctions.json
index 802a1152c0b..2f2c1279d9d 100644
--- a/static/swagger/master/v3/swaggerfunctions.json
+++ b/static/swagger/master/v3/swaggerfunctions.json
@@ -381,6 +381,9 @@
                     },
                     "type": "object"
                 },
+                "skipToLatest": {
+                    "type": "boolean"
+                },
                 "subName": {
                     "type": "string"
                 },

Reply via email to