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 2021/11/23 19:50:49 UTC

[GitHub] [pulsar] nlu90 commented on issue #12905: Admin putFunctionState REST API MediaType is multipart/form-data

nlu90 commented on issue #12905:
URL: https://github.com/apache/pulsar/issues/12905#issuecomment-977090492


   @YouJiacheng @codelipenghui 
   
   1. Here's the previous discuss about this issue. I think it's mainly for extensibility.:
   https://github.com/apache/pulsar/pull/4311/files/b1a8b9706717b573bb28e1a3b80cc96c514800a0#r285781802
   
   
   2. To successfully send put function state request, You need to provide the either "stringValue" or "byteVaule". Here's an example:
   ```
   ./bin/pulsar-admin functions putstate --fqfn public/default/fn-func  -s '{"key": "kk", "stringValue": "hello", "version": "1"}'
   ```
   
   3. Please let me know which document you feel need to be added, we can iterate on that.
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org