Skip to content

Commit

Permalink
[flink] Respect waitCompaction in FlinkCdcMultiTableSink (apache#3337)
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 authored May 15, 2024
1 parent b16af31 commit 3b006fe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package org.apache.paimon.flink.sink.cdc;

import org.apache.paimon.catalog.Catalog;
import org.apache.paimon.flink.FlinkConnectorOptions;
import org.apache.paimon.flink.VersionedSerializerWrapper;
import org.apache.paimon.flink.sink.CommittableStateManager;
import org.apache.paimon.flink.sink.Committer;
Expand Down Expand Up @@ -86,7 +87,8 @@ private StoreSinkWrite.WithWriteBufferProvider createWriteProvider() {
state,
ioManager,
isOverwrite,
false,
FlinkConnectorOptions.prepareCommitWaitCompaction(
table.coreOptions().toConfiguration()),
true,
memoryPoolFactory,
metricGroup);
Expand Down

0 comments on commit 3b006fe

Please sign in to comment.