Class StandardSinkTopologies
- java.lang.Object
-
- org.apache.flink.streaming.api.connector.sink2.StandardSinkTopologies
-
@Experimental public class StandardSinkTopologies extends Object
This utility class provides building blocks for custom topologies.
-
-
Field Summary
Fields Modifier and Type Field Description static String
GLOBAL_COMMITTER_TRANSFORMATION_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <CommT> void
addGlobalCommitter(DataStream<CommittableMessage<CommT>> committables, SerializableSupplier<Committer<CommT>> committerFactory, SerializableSupplier<SimpleVersionedSerializer<CommT>> committableSerializer)
Adds a global committer to the pipeline that runs as final operator with a parallelism of one.
-
-
-
Field Detail
-
GLOBAL_COMMITTER_TRANSFORMATION_NAME
public static final String GLOBAL_COMMITTER_TRANSFORMATION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
addGlobalCommitter
public static <CommT> void addGlobalCommitter(DataStream<CommittableMessage<CommT>> committables, SerializableSupplier<Committer<CommT>> committerFactory, SerializableSupplier<SimpleVersionedSerializer<CommT>> committableSerializer)
Adds a global committer to the pipeline that runs as final operator with a parallelism of one.
-
-