luchunliang commented on code in PR #9759:
URL: https://github.com/apache/inlong/pull/9759#discussion_r1508526013
##########
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/starrocks/src/main/java/org/apache/inlong/sort/starrocks/table/sink/table/StarRocksDynamicSinkFunctionV2.java:
##########
@@ -291,19 +302,23 @@ public void initializeState(FunctionInitializationContext
functionInitialization
return;
}
+ String transactionStateName = "starrocks-sink-transaction"
+ + (StringUtils.isNullOrWhitespaceOnly(stateKey) ? "" : "-" +
stateKey);
Review Comment:
Using the dynamic parameter "stateKey" as the key value, there is a risk of
linear growth in the State size of Checkpoint.
--
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]