nlu90 edited a comment on issue #6348: [Issue 6170][functions] add custom 
property option to functions
URL: https://github.com/apache/pulsar/pull/6348#issuecomment-587233019
 
 
   After a discussion with @sijie , the way this options work is as follows now:
   
   ```
   ./bin/pulsar-admin functions create \
   --custom-property prop1=PROP1_VALUE --custom-property prop2=PROP2_VALUE \
   --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
   ```
   
   both `PROP1_VALUE` and `PROP2_VALUE` would be replaced with the actual 
system property value when the function process is being started.
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to