This is an automated email from the ASF dual-hosted git repository. jerrypeng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.wiki.git
The following commit(s) were added to refs/heads/master by this push: new 709dac7 Updated Release Candidate Validation (markdown) 709dac7 is described below commit 709dac72fd774e8457ec5c17f2868ffce2b94023 Author: Boyang Jerry Peng <jerry.boyang.p...@gmail.com> AuthorDate: Tue Apr 9 11:09:53 2019 -0700 Updated Release Candidate Validation (markdown) --- Release-Candidate-Validation.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Release-Candidate-Validation.md b/Release-Candidate-Validation.md index ccef2ac..348a5c6 100644 --- a/Release-Candidate-Validation.md +++ b/Release-Candidate-Validation.md @@ -122,6 +122,15 @@ $ telnet localhost 4181 2. Open another terminal to submit a Java Exclamation function. +First create the tenant and namespace: + +```shell +$ bin/pulsar-admin tenants create test +$ bin/pulsar-admin namespaces create test/test-namespace +``` + +Then create function: + ```shell $ bin/pulsar-admin functions create --functionConfigFile examples/example-function-config.yaml --jar examples/api-examples.jar ``` @@ -306,7 +315,7 @@ $ bin/pulsar-admin sink create --tenant public --namespace default --name cassan ```shell // get the sink info -$ bin/pulsar-admin functions get --tenant public --namespace default --name cassandra-test-sink +$ bin/pulsar-admin sink get --tenant public --namespace default --name cassandra-test-sink { "tenant": "public", "namespace": "default",