You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/02/17 18:16:40 UTC
[GitHub] [pulsar] nlu90 commented on issue #6348: [Issue 6170][functions]
add custom property option to functions
nlu90 commented on issue #6348: [Issue 6170][functions] add custom property option to functions
URL: https://github.com/apache/pulsar/pull/6348#issuecomment-587109666
Now we can submit a function with multiple custom properties as follows:
```
./bin/pulsar-admin functions create \
--custom-property prop1="hello_world" --custom-property success=1 \
--jar ./pulsar-functions/java-examples/target/pulsar-functions-api-examples.jar \
--classname org.apache.pulsar.functions.api.examples.ExclamationFunction \
--tenant public --namespace default --name exclamation \
--inputs persistent://public/default/my-topic \
--output persistent://public/default/exclamation
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services