zentol commented on a change in pull request #10762: [FLINK-15115][kafka] Drop 
Kafka 0.8/0.9
URL: https://github.com/apache/flink/pull/10762#discussion_r365612875
 
 

 ##########
 File path: 
flink-connectors/flink-connector-kafka-0.10/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer010.java
 ##########
 @@ -173,7 +205,38 @@ public FlinkKafkaConsumer010(Pattern subscriptionPattern, 
DeserializationSchema<
         */
        @PublicEvolving
        public FlinkKafkaConsumer010(Pattern subscriptionPattern, 
KafkaDeserializationSchema<T> deserializer, Properties props) {
-               super(subscriptionPattern, deserializer, props);
+               this(null, subscriptionPattern, deserializer, props);
 
 Review comment:
   The `KafkTopicsDescriptor` actually relies on this being null. I'll add 
Nullable to the private constructor for the time being.

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

Reply via email to