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


   because we record the json schema by avro schema generate, broker validate 
the compatibility unified management through avro. the above example 
```User.class``` Schema.JSON and Schema.AVRO are the same. So you can use the 
```Schema.Avro(User.class)``` send message. This logic was like this before. 
This is a wrong logic, but if change this logic, it maybe produce the problem 
after broker version update when previous can connect producer or consumer will 
not  connect correct.


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