public interface DataStreamsCheckpointer
Modifier and Type | Interface and Description |
---|---|
static class |
DataStreamsCheckpointer.NoOp |
Modifier and Type | Method and Description |
---|---|
static DataStreamsCheckpointer |
get() |
void |
setConsumeCheckpoint(String type,
String source,
DataStreamsContextCarrier carrier) |
void |
setProduceCheckpoint(String type,
String target,
DataStreamsContextCarrier carrier) |
static DataStreamsCheckpointer get()
void setConsumeCheckpoint(String type, String source, DataStreamsContextCarrier carrier)
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.void setProduceCheckpoint(String type, String target, DataStreamsContextCarrier carrier)
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.