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 2019/08/02 04:27:11 UTC

[GitHub] [pulsar] jerrypeng commented on issue #4855: Uploading a Pulsar Function with pulsar-admin 2.2.1 to a 2.4.0 broker causes validation failure

jerrypeng commented on issue #4855: Uploading a Pulsar Function with pulsar-admin 2.2.1 to a 2.4.0 broker causes validation failure
URL: https://github.com/apache/pulsar/issues/4855#issuecomment-517543295
 
 
   @grantwwu that is weird because I can submit a function via REST API:
   
   ```
   curl  --request POST  -H "Content-Type: multipart/form-data" -F functionConfig='{"tenant":"public","namespace":"default","name":"test","className":"com.streamlio.datagen.DataGeneratorFunction","inputs":["input"], "output": "output", "parallelism":1, "runtime": "JAVA"};type=application/json' -F url='https://jerry-pulsar-test.s3-us-west-2.amazonaws.com/pulsar-functions-demos-data-gen-function-1.0-SNAPSHOT.jar;type=application/text' http://localhost:8080/admin/v3/functions/public/default/test
   ```
   
   I didn't specify CPU and the default of "1" core is used.
   
   I can try with a 2.2.1 client to see if there is some weird interaction

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