letaoj commented on code in PR #181:
URL: https://github.com/apache/flink-agents/pull/181#discussion_r2374045119


##########
runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:
##########
@@ -190,9 +190,17 @@ public void open() throws Exception {
                 && KAFKA.getType()
                         
.equalsIgnoreCase(agentPlan.getConfig().get(ACTION_STATE_STORE_BACKEND))) {
             LOG.info("Using Kafka as backend of action state store.");
-            actionStateStore = new KafkaActionStateStore();
+            actionStateStore = new 
KafkaActionStateStore(agentPlan.getConfig());
         }
 
+        // init recovery marker state for recovery marker persistence
+        recoveryMarkerOpState =
+                getOperatorStateBackend()
+                        .getUnionListState(
+                                new ListStateDescriptor<>(
+                                        RECOVERY_MARKER_STATE_NAME,
+                                        TypeInformation.of(Object.class)));

Review Comment:
   Updated



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