nodece opened a new pull request #13938:
URL: https://github.com/apache/pulsar/pull/13938


   Signed-off-by: Zixuan Liu <[email protected]>
   
   ### Motivation
   
   When we defined the `schemaCompatibilityStrategy=ALWAYS_INCOMPATIBLE` in 
`broker.conf`, and a namespace policies so like:
   ```
   schema_auto_update_compatibility_strategy = 
SchemaAutoUpdateCompatibilityStrategy.Full
   schema_compatibility_strategy = null
   ```
   We should got `SchemaCompatibilityStrategy.FULL` by `pulsar-admin namespaces 
get-schema-compatibility-strategy <ns>`, but got 
`SchemaCompatibilityStrategy.ALWAYS_INCOMPATIBLE`, this is incorrect response.
   
   
   ### Modifications
   
   - Use `null` as `Policies#schema_auto_update_compatibility_strategy` value
   - Change the read schema compatibility strategy priority
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   ### Documentation
   
   - [x] `no-need-doc` 
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to