You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/16 18:55:36 UTC

[GitHub] [pulsar] merlimat commented on a change in pull request #3840: [issue 3838] [schema] : Allow incompatible schemas to co-exist on a topic

merlimat commented on a change in pull request #3840: [issue 3838] [schema] : Allow incompatible schemas to co-exist on a topic
URL: https://github.com/apache/pulsar/pull/3840#discussion_r266211447
 
 

 ##########
 File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/AlwaysSchemaValidator.java
 ##########
 @@ -0,0 +1,21 @@
+package org.apache.pulsar.broker.service.schema;
+
+import org.apache.avro.Schema;
+import org.apache.avro.SchemaValidationException;
+import org.apache.avro.SchemaValidator;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * An avro schema validator that always reports as compatible.
+ */
+class AlwaysSchemaValidator implements SchemaValidator {
+    private final static Logger log = LoggerFactory.getLogger(AlwaysSchemaValidator.class);
 
 Review comment:
   nit: logger not used here

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services