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, wait
get
public static final DataStreamsCheckpointer INSTANCE
public void setConsumeCheckpoint(String type, String source, DataStreamsContextCarrier carrier)
setConsumeCheckpoint
in interface DataStreamsCheckpointer
type
- The type of the checkpoint, usually the streaming technology being used. Examples:
kafka, kinesis, sns etc.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 DataStreamsCheckpointer
type
- The type of the checkpoint, usually the streaming technology being used. Examples:
kafka, kinesis, sns etc.carrier
- An interface to the context carrier, to which the context will be injected. I.e.
wrapper around message headers.