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.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.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.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.