BewareMyPower edited a comment on pull request #9853:
URL: https://github.com/apache/pulsar/pull/9853#issuecomment-795078207


   >  I think the producer side also has a similar problem? If there are 
producers or consumers connect to the topic with bytes schema, then when a new 
producer connect with avro schema, I think the schema of the topic will change 
to avro. 
   
   @codelipenghui I'm not sure if it's the intended design for producer. 
Currently `handleProducer` uses `tryAddSchema` that is introduced in PIP-43 and 
#5165, while `handleSubscribe` uses `addSchemaIfIdleOrCheckCompatible` that is 
introduced in PIP-44 and #5227.


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