StefanRRichter commented on a change in pull request #7010: 
[FLINK-10353][kafka] Support change of transactional semantics in Kaf…
URL: https://github.com/apache/flink/pull/7010#discussion_r231068587
 
 

 ##########
 File path: 
flink-connectors/flink-connector-kafka-0.11/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer011.java
 ##########
 @@ -957,6 +928,11 @@ private void 
recycleTransactionalProducer(FlinkKafkaProducer<byte[], byte[]> pro
                return initProducer(registerMetrics);
        }
 
+       private FlinkKafkaProducer<byte[], byte[]> 
initNonTransactionalProducer(boolean registerMetrics) {
+               producerConfig.remove("transactional.id");
 
 Review comment:
   Core problem here being that the config is somewhat a shared object that is 
written to in different attempts of initializing a producer.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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