fapaul commented on a change in pull request #18397: URL: https://github.com/apache/flink/pull/18397#discussion_r788961891
########## File path: flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/reader/deserializer/KafkaValueOnlyDeserializerWrapper.java ########## @@ -62,8 +75,15 @@ public void open(DeserializationSchema.InitializationContext context) throws Exc deserializerClass.getName(), Deserializer.class, getClass().getClassLoader()); + + if (config.isEmpty()) { + return; + } + if (deserializer instanceof Configurable) { ((Configurable) deserializer).configure(config); + } else { Review comment: Can you also add a test to verify the configuration of a de/serializer not implementing `Configurable`? -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org