nonggialiang commented on code in PR #6524:
URL: https://github.com/apache/hudi/pull/6524#discussion_r958479996
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/compact/CompactFunction.java:
##########
@@ -130,4 +143,38 @@ private HoodieWriteConfig reloadWriteConfig() throws
Exception {
public void setExecutor(NonThrownExecutor executor) {
this.executor = executor;
}
+
+ private void sendEventByMailBox(Collector<CompactionCommitEvent> collector,
CompactionCommitEvent commitEvent) {
+ mailboxExecutorAdapter.execute(() -> collector.collect(commitEvent),
+ "Send compaction commit event by mailbox.");
+ }
Review Comment:
Just pushed a new implementaion using AsynFunction of flink.
And fixed the same potential problem in clustering operator.
--
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]