hanmz opened a new issue, #21241:
URL: https://github.com/apache/pulsar/issues/21241

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   all
   
   ### Minimal reproduce step
   
   1、create producer by schema [Schema.JSON(String.class)]
   `client.newProducer(Schema.JSON(String.class)).topic("xxx").create`
   2、execute schemas admin: sh bin/pulsar-admin schemas get 
test-tenant/test-ns/test-topic
   
![image](https://github.com/apache/pulsar/assets/16524922/49b4a252-f9f0-4c52-96a1-c3e8615898dd)
   
   
   ### What did you expect to see?
   
   Return result is normal
   
   ### What did you see instead?
   
   Throw exception: java.lang.IllegalStateException: Not a JSON Object: "string"
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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