mattisonchao commented on code in PR #25193:
URL: https://github.com/apache/pulsar/pull/25193#discussion_r2830986646


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/validator/StructSchemaDataValidator.java:
##########
@@ -49,7 +52,7 @@ public void validate(SchemaData schemaData) throws 
InvalidSchemaDataException {
         byte[] data = schemaData.getData();
 
         try {
-            Schema.Parser avroSchemaParser = new Schema.Parser();
+            Schema.Parser avroSchemaParser = new 
Schema.Parser(COMPATIBLE_NAME_VALIDATOR);

Review Comment:
   after the evaluation. I think this PR should focus solely on fixing the 
issue and eliminating breaking changes in the broker versions. To align the 
usage. We could try another PR on the client side to support it. 



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