public static final class DataStreamsCheckpointer.NoOp extends Object implements DataStreamsCheckpointer
DataStreamsCheckpointer.NoOp| Modifier and Type | Field and Description |
|---|---|
static DataStreamsCheckpointer |
INSTANCE |
| Constructor and Description |
|---|
NoOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
setConsumeCheckpoint(String type,
String source,
DataStreamsContextCarrier carrier) |
void |
setProduceCheckpoint(String type,
String target,
DataStreamsContextCarrier carrier) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetpublic static final DataStreamsCheckpointer INSTANCE
public void setConsumeCheckpoint(String type, String source, DataStreamsContextCarrier carrier)
setConsumeCheckpoint in interface DataStreamsCheckpointertype - The type of the checkpoint, usually the streaming technology being used. Examples:
kafka, kinesis, sns etc.source - The source of data. For instance: topic, exchange or stream name.carrier - An interface to the context carrier, from which the context will be extracted.
I.e. wrapper around message headers.public void setProduceCheckpoint(String type, String target, DataStreamsContextCarrier carrier)
setProduceCheckpoint in interface DataStreamsCheckpointertype - The type of the checkpoint, usually the streaming technology being used. Examples:
kafka, kinesis, sns etc.target - The destination to which the data is being sent. For instance: topic, exchange or
stream name.carrier - An interface to the context carrier, to which the context will be injected. I.e.
wrapper around message headers.