Class KafkaDataSink
- java.lang.Object
-
- org.apache.flink.cdc.connectors.kafka.sink.KafkaDataSink
-
-
Constructor Summary
Constructors Constructor Description KafkaDataSink(org.apache.flink.connector.base.DeliveryGuarantee deliveryGuarantee, Properties kafkaProperties, PartitionStrategy partitionStrategy, java.time.ZoneId zoneId, org.apache.flink.api.common.serialization.SerializationSchema<Event> keySerialization, org.apache.flink.api.common.serialization.SerializationSchema<Event> valueSerialization, String topic, boolean addTableToHeaderEnabled, String customHeaders, String tableMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSinkProvidergetEventSinkProvider()Get theEventSinkProviderfor writing changed data to external systems.MetadataAppliergetMetadataApplier()Get theMetadataApplierfor applying metadata changes to external systems.-
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
-
KafkaDataSink
public KafkaDataSink(org.apache.flink.connector.base.DeliveryGuarantee deliveryGuarantee, Properties kafkaProperties, PartitionStrategy partitionStrategy, java.time.ZoneId zoneId, org.apache.flink.api.common.serialization.SerializationSchema<Event> keySerialization, org.apache.flink.api.common.serialization.SerializationSchema<Event> valueSerialization, String topic, boolean addTableToHeaderEnabled, String customHeaders, String tableMapping)
-
-
Method Detail
-
getEventSinkProvider
public EventSinkProvider getEventSinkProvider()
Description copied from interface:DataSinkGet theEventSinkProviderfor writing changed data to external systems.- Specified by:
getEventSinkProviderin interfaceDataSink
-
getMetadataApplier
public MetadataApplier getMetadataApplier()
Description copied from interface:DataSinkGet theMetadataApplierfor applying metadata changes to external systems.- Specified by:
getMetadataApplierin interfaceDataSink
-
-