Interface TrackingClient
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CachingTrackingClient,InMemoryEventStoreClient,InMemoryMessageStore,InMemorySchedulingClient,WebsocketTrackingClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()disconnectTracker(String consumer, String trackerId, boolean sendFinalEmptyBatch) getPosition(String consumer) read(String consumer, String trackerId, Long lastIndex, ConsumerConfiguration trackingConfiguration) default MessageBatchreadAndWait(String consumer, String trackerId, Long lastIndex, ConsumerConfiguration configuration) readFromIndex(long minIndex, int maxSize) resetPosition(String consumer, long lastIndex) storePosition(String consumer, int[] segment, long lastIndex)
-
Method Details
-
readAndWait
default MessageBatch readAndWait(String consumer, String trackerId, Long lastIndex, ConsumerConfiguration configuration) -
read
CompletableFuture<MessageBatch> read(String consumer, String trackerId, Long lastIndex, ConsumerConfiguration trackingConfiguration) -
readFromIndex
-
storePosition
-
resetPosition
-
getPosition
-
disconnectTracker
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-