Skip to content

Commit

Permalink
docs(function): fix incorrect classname in python runtime sample (apa…
Browse files Browse the repository at this point in the history
…che#12476)

Signed-off-by: Eric Shen <[email protected]>
  • Loading branch information
ericsyh authored Oct 25, 2021
1 parent dda8cc7 commit 33f0f52
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion site2/docs/functions-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
2 changes: 1 addition & 1 deletion site2/website-next/docs/functions-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ To package a function with **one python file** in Python, complete the following
```bash

./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ To package a function with **one python file** in Python, complete the following
```bash

./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ To package a function with **one python file** in Python, complete the following
```bash

./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To package a function with **one python file** in Python, complete the following

```bash
./bin/pulsar-admin functions localrun \
--classname org.example.test.ExclamationFunction \
--classname <Python Function file name>.<Python Function class name> \
--py <path of Python Function file> \
--inputs persistent://public/default/my-topic-1 \
--output persistent://public/default/test-1 \
Expand Down

0 comments on commit 33f0f52

Please sign in to comment.