@Experimental public class StandardSinkTopologies extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_COMMITTER_TRANSFORMATION_NAME |
Modifier and Type | Method and 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.
|
public static final String GLOBAL_COMMITTER_TRANSFORMATION_NAME
public static <CommT> void addGlobalCommitter(DataStream<CommittableMessage<CommT>> committables, SerializableSupplier<Committer<CommT>> committerFactory, SerializableSupplier<SimpleVersionedSerializer<CommT>> committableSerializer)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.