rmetzger commented on a change in pull request #14390:
URL: https://github.com/apache/flink/pull/14390#discussion_r544233510



##########
File path: 
flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer.java
##########
@@ -1086,8 +1086,8 @@ public void initializeState(FunctionInitializationContext 
context) throws Except
                nextTransactionalIdHintState = 
context.getOperatorStateStore().getUnionListState(
                        NEXT_TRANSACTIONAL_ID_HINT_DESCRIPTOR_V2);
 
-               if 
(context.getOperatorStateStore().getRegisteredStateNames().contains(NEXT_TRANSACTIONAL_ID_HINT_DESCRIPTOR))
 {
-                       migrateNextTransactionalIdHindState(context);
+               if 
(context.getOperatorStateStore().getRegisteredStateNames().contains(NEXT_TRANSACTIONAL_ID_HINT_DESCRIPTOR.getName()))
 {

Review comment:
       @becketqin / @pnowojski With this change applied, the Kafka tests are 
failing. What's your take?




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


Reply via email to