merlimat commented on a change in pull request #5557: [Schema]Add
SchemaDisabled for schema
URL: https://github.com/apache/pulsar/pull/5557#discussion_r343493860
##########
File path:
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Schema.java
##########
@@ -213,6 +213,16 @@ default void configureSchemaInfo(String topic, String
componentName,
return
DefaultImplementation.newProtobufSchema(SchemaDefinition.builder().withPojo(clazz).build());
}
+ /**
+ * Disable SchemaInfo.
Review comment:
The javadoc should illustrate what's the behavior for this option:
* We're just using the SerDe capabilities
* No server side validation or enforcement of schema definition
----------------------------------------------------------------
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]
With regards,
Apache Git Services