codelipenghui commented on pull request #9853: URL: https://github.com/apache/pulsar/pull/9853#issuecomment-794615672
@BewareMyPower I think the root cause is the producer has written data into the topic but the schema does not upload? From the perspective of schema compatibility, if the topic has data but does not have a schema, this means the schema is bytes schema(Currently bytes schema is not uploaded), so I think the right fix is to trade as `The topic with bytes schema`, we should check the schema compatibility of the new producers/consumers. Currently, the producer side also has a problem is a producer produce some message with bytes schema, then a new producer can publish messages with other schemas(e.g. Schema.INT64), this will introduce schema compatibility issues. Imagine that if a consumer consumes messages from the earliest position with `Schema.INT64`, will pass the schema compatibility check but will fail when deserializing messages. ---------------------------------------------------------------- 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]
