[minor][cdc-connector][paimon] Remove duplicate interface implements

pull/3347/head^2
joyCurry30 8 months ago committed by GitHub
parent b1e157468a
commit 8a7fdd5ae3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,7 +20,6 @@ package org.apache.flink.cdc.connectors.paimon.sink.v2;
import org.apache.flink.api.common.typeinfo.TypeInformation;
import org.apache.flink.api.connector.sink2.Committer;
import org.apache.flink.api.connector.sink2.Sink;
import org.apache.flink.api.connector.sink2.TwoPhaseCommittingSink;
import org.apache.flink.core.io.SimpleVersionedSerializer;
import org.apache.flink.streaming.api.connector.sink2.CommittableMessage;
import org.apache.flink.streaming.api.connector.sink2.CommittableMessageTypeInfo;
@ -36,9 +35,7 @@ import org.apache.paimon.table.sink.CommitMessageSerializer;
/**
* A {@link Sink} for Paimon. Maintain this package until Paimon has it own sinkV2 implementation.
*/
public class PaimonSink<InputT>
implements TwoPhaseCommittingSink<InputT, MultiTableCommittable>,
WithPreCommitTopology<InputT, MultiTableCommittable> {
public class PaimonSink<InputT> implements WithPreCommitTopology<InputT, MultiTableCommittable> {
// provided a default commit user.
public static final String DEFAULT_COMMIT_USER = "admin";

Loading…
Cancel
Save