congbobo184 commented on a change in pull request #9612:
URL: https://github.com/apache/pulsar/pull/9612#discussion_r580751679
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaRegistryServiceImpl.java
##########
@@ -467,4 +493,12 @@ static SchemaData
schemaInfoToSchema(SchemaRegistryFormat.SchemaInfo info) {
}
}
+ public static boolean isUsingAvroSchemaParser(SchemaType type) {
+ if (type == SchemaType.AVRO || type == SchemaType.PROTOBUF || type ==
SchemaType.JSON) {
Review comment:
oh yes, I will change it to switch block.
----------------------------------------------------------------
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]