Class SnowflakeSink<IN>
java.lang.Object
io.deltastream.flink.connector.snowflake.sink.SnowflakeSink<IN>
- Type Parameters:
IN- type of records that the sink receives to serialize and write to the corresponding Snowflake table
- All Implemented Interfaces:
Serializable,org.apache.flink.api.connector.sink2.Sink<IN>
@PublicEvolving
public class SnowflakeSink<IN>
extends Object
implements org.apache.flink.api.connector.sink2.Sink<IN>
Flink Sink to produce data into a Snowflake table. The sink supports below delivery guarantees as
described by
DeliveryGuarantee.
DeliveryGuarantee.NONE does not provide any guarantees:
messages may be lost in case of issues on the Snowflake ingest channel and messages may be
duplicated in case of a Flink runtime failure.
DeliveryGuarantee.AT_LEAST_ONCE the sink will flush
data on a checkpoint to ensure all received events have successfully been committed to the
Snowflake service backend. Ingestion failures are retried to ensure delivery of all received
events at least once, but data may be duplicated when Flink restarts.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.api.connector.sink2.Sink
org.apache.flink.api.connector.sink2.Sink.InitContext, org.apache.flink.api.connector.sink2.Sink.InitContextWrapper -
Method Summary
Modifier and TypeMethodDescriptionstatic <IN> SnowflakeSinkBuilder<IN>builder()org.apache.flink.api.connector.sink2.SinkWriter<IN>createWriter(org.apache.flink.api.connector.sink2.Sink.InitContext initContext) getAppId()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.api.connector.sink2.Sink
createWriter
-
Method Details
-
getAppId
-
getConnectionConfigs
-
getWriterConfig
-
getChannelConfig
-
getSerializationSchema
-
builder
-
createWriter
public org.apache.flink.api.connector.sink2.SinkWriter<IN> createWriter(org.apache.flink.api.connector.sink2.Sink.InitContext initContext) - Specified by:
createWriterin interfaceorg.apache.flink.api.connector.sink2.Sink<IN>
-