Anonymitaet commented on a change in pull request #5757: [doc]Modify schema compatibility check doc URL: https://github.com/apache/pulsar/pull/5757#discussion_r351966551
########## File path: site2/docs/schema-manage.md ########## @@ -50,17 +58,22 @@ For a consumer, the `AutoUpdate` happens in the following cases: * If a **consumer connects to a topic without a schema** (which means the consumer receiving raw bytes), the consumer can connect to the topic successfully without doing any compatibility check. -* If a **consumer connects to a topic with a schema**: - - * If the **topic is idle** (no producers, no entries, no other consumers and no registered schemas), the broker registers a schema for the topic automatically. +* If a **consumer connects to a topic with a schema**. - * If the **topic is not idle**, the broker verifies if the schema provided by the consumer is compatible with the registered schema of the topic. + * If topic don't have schema, no data or no local consumers and no local producers. - * If the **schema passes the compatibility check**, the consumer can connect to the topic and receive messages. + * If `isAllowAutoUpdateSchema` = true, register the schema and connect. + + * If `isAllowAutoUpdateSchema` = false, rejected. + + * If topic have schema, have data or have local consumers and have local producers., schema do compatibility check - * If the **schema does not pass the compatibility check**, the consumer is rejected and disconnected. - - + * If schema pass the compatibility check, the consumer is connected. + + * If schema does not pass the compatibility, the consumer is rejected. Review comment: ```suggestion * If the schema does not pass the compatibility check, then the consumer is rejected to connect to the broker. ``` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services