codelipenghui commented on issue #9089: URL: https://github.com/apache/pulsar/issues/9089#issuecomment-788547011
@kyontan The `isSchemaValidationEnforced` is the control the schema validation which the producer without schema but the topic has schema. This means if the topic with schema but the produce does not have a schema and `isSchemaValidationEnforced=true`, the broker will reject the producer. Otherwise, the broker will do the schema compatibility check, from your description, I think the problem is you have dropped a `NOT NULL` COLUMN, this will break the forward compatibility, since the default schema compatibility policy is FULL(forward and backward), so you got the `IncompatibleSchemaException`, you can try to update the schema compatibility policy to BACKWARD. For more details you can check http://pulsar.apache.org/docs/en/schema-evolution-compatibility/ ---------------------------------------------------------------- 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]
