codelipenghui commented on issue #9602:
URL: https://github.com/apache/pulsar/issues/9602#issuecomment-780352270


   @rvashishth This is expected behavior, you can get more details from 
http://pulsar.apache.org/docs/en/schema-evolution-compatibility. The JSON 
schema and AVRO schema are incompatible with each other. So the step 4 that you 
mentioned should fail with `schema incompatible exception`. If the new schema 
incompatible with the old schemas(based on the compatibility policy), the new 
schema will not update, so you got the old one (JSON schema) when you get 
schema info again.


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


Reply via email to