BewareMyPower commented on issue #15639:
URL: https://github.com/apache/pulsar/issues/15639#issuecomment-1727368729

   @armanjupriya-er I'm not sure if there is a document for it, the file format 
should be like:
   
   ```json
   {
    "type": "AVRO",
    "schema": 
"{\"type\":\"record\",\"name\":\"Example\",\"namespace\":\"test\",\"fields\":[{\"name\":\"a\",\"type\":\"int\"},{\"name\":\"b\",\"type\":\"int\"}]}"
   }
   ```
   
   i.e. the JSON representation of 
https://github.com/apache/pulsar/blob/master/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/protocol/schema/PostSchemaPayload.java


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to