Class HudiDataSink
- java.lang.Object
-
- org.apache.flink.cdc.connectors.hudi.sink.HudiDataSink
-
- All Implemented Interfaces:
Serializable,DataSink
public class HudiDataSink extends Object implements DataSink, Serializable
ADataSinkfor Apache Hudi that provides the main entry point for the Flink CDC framework.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HudiDataSink(Configuration config, String schemaOperatorUid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSinkProvidergetEventSinkProvider()Provides the core sink implementation that handles the data flow of events.MetadataAppliergetMetadataApplier()Provides the metadata applier.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.cdc.common.sink.DataSink
getDataChangeEventHashFunctionProvider, getDataChangeEventHashFunctionProvider
-
-
-
-
Constructor Detail
-
HudiDataSink
public HudiDataSink(Configuration config, String schemaOperatorUid)
-
-
Method Detail
-
getEventSinkProvider
public EventSinkProvider getEventSinkProvider()
Provides the core sink implementation that handles the data flow of events.- Specified by:
getEventSinkProviderin interfaceDataSink
-
getMetadataApplier
public MetadataApplier getMetadataApplier()
Provides the metadata applier. In our design, this has a passive role (e.g., logging), as transactional metadata operations are handled by the HudiCommitter.- Specified by:
getMetadataApplierin interfaceDataSink
-
-