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

wave 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 8fdc35c0768 Add doc for available-functions and functions reload (#542)
8fdc35c0768 is described below

commit 8fdc35c0768fa78ad252db3583afd6cd0db93d6b
Author: Christophe Bornet <[email protected]>
AuthorDate: Thu May 25 00:44:01 2023 +0200

    Add doc for available-functions and functions reload (#542)
    
    * Add doc for available-functions and functions reload
    
    * Update docs/functions-deploy-cluster-builtin.md
    
    Co-authored-by: Anonymitaet <[email protected]>
    
    * Add doc to versioned Pulsar 3.0
    
    ---------
    
    Co-authored-by: Anonymitaet <[email protected]>
---
 docs/functions-deploy-cluster-builtin.md                     | 12 ++++++++++++
 .../version-3.0.x/functions-deploy-cluster-builtin.md        | 12 ++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/docs/functions-deploy-cluster-builtin.md 
b/docs/functions-deploy-cluster-builtin.md
index 2e0e3b3cd38..bd5a68976a9 100644
--- a/docs/functions-deploy-cluster-builtin.md
+++ b/docs/functions-deploy-cluster-builtin.md
@@ -14,3 +14,15 @@ bin/pulsar-admin functions create \
   --inputs persistent://public/default/input-1 \
   --output persistent://public/default/output-1
 ```
+
+To get the list of available built-in Functions, use the `available-functions` 
command:
+
+```bash
+bin/pulsar-admin functions available-functions
+```
+
+If you add or delete a NAR file in a `functions` folder, reload the available 
built-in functions before using it.
+
+```bash
+bin/pulsar-admin functions reload
+```
diff --git a/versioned_docs/version-3.0.x/functions-deploy-cluster-builtin.md 
b/versioned_docs/version-3.0.x/functions-deploy-cluster-builtin.md
index 2e0e3b3cd38..bd5a68976a9 100644
--- a/versioned_docs/version-3.0.x/functions-deploy-cluster-builtin.md
+++ b/versioned_docs/version-3.0.x/functions-deploy-cluster-builtin.md
@@ -14,3 +14,15 @@ bin/pulsar-admin functions create \
   --inputs persistent://public/default/input-1 \
   --output persistent://public/default/output-1
 ```
+
+To get the list of available built-in Functions, use the `available-functions` 
command:
+
+```bash
+bin/pulsar-admin functions available-functions
+```
+
+If you add or delete a NAR file in a `functions` folder, reload the available 
built-in functions before using it.
+
+```bash
+bin/pulsar-admin functions reload
+```

Reply via email to