wolfstudy opened a new pull request #4174: [go function] support localrun and 
cluster mode for go function
URL: https://github.com/apache/pulsar/pull/4174
 
 
   Signed-off-by: xiaolong.ran <[email protected]>
   
   ### Motivation
   
   support  local-run and cluster mode for go function.
   
   in go function, we can use:
   
   ```
   ./bin/pulsar-admin functions localrun/create  
   --go 
/Users/wolf4j/github.com/apache/pulsar/pulsar-function-go/examples/outputFunc.go
 
   --inputs persistent://public/default/my-topic 
   --output persistent://public/default/test 
   --tenant public 
   --namespace default 
   --name pulsarfunction 
   --classname hellopulsar 
   --log-topic logtopic
   ```
   
   Different from `--jar` or `--py`, `--go` uploads a complete executable 
file(including: instance file + user code file)
   
   

----------------------------------------------------------------
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