Class UpsertTestSink<IN>

  • Type Parameters:
    IN - type of records written to the file
    All Implemented Interfaces:
    Serializable, org.apache.flink.api.connector.sink2.Sink<IN>

    @PublicEvolving
    public class UpsertTestSink<IN>
    extends Object
    implements org.apache.flink.api.connector.sink2.Sink<IN>
    Flink Sink to upsert test data into a file. This Sink is intended for testing internal functionality and is **not** production-ready.

    Please note that the UpsertTestSink needs to run with a parallelism of 1 to function correctly. There is currently no support for using multiple writers at once.

    See Also:
    on how to construct an UpsertTestSink, Serialized Form
    • Method Detail

      • createWriter

        @Internal
        public org.apache.flink.api.connector.sink2.SinkWriter<IN> createWriter​(org.apache.flink.api.connector.sink2.WriterInitContext context)
        Specified by:
        createWriter in interface org.apache.flink.api.connector.sink2.Sink<IN>