syhily commented on code in PR #24:
URL: 
https://github.com/apache/flink-connector-pulsar/pull/24#discussion_r1103522426


##########
flink-connector-pulsar/src/main/java/org/apache/flink/connector/pulsar/source/PulsarSourceBuilder.java:
##########
@@ -619,7 +619,7 @@ private void ensureSubscriberIsNull(String 
attemptingSubscribeMode) {
 
     private void ensureSchemaTypeIsValid(Schema<?> schema) {
         SchemaInfo info = schema.getSchemaInfo();
-        if (info.getType() == SchemaType.AUTO_CONSUME || info.getType() == 
SchemaType.AUTO) {
+        if (info.getType() == SchemaType.AUTO_CONSUME) {

Review Comment:
   I just notice this is a deprecated API calling in Pulsar and could never 
happen. Since this is a code refactor PR, I add it here and didn't submit a new 
PR.



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