public interface CursorManager
| Modifier and Type | Method and Description |
|---|---|
default void |
addSubscription(Subscription subscription) |
default void |
fromNewestAvailableOffsets(String eventName,
List<Partition> partitions) |
default void |
fromOldestAvailableOffset(String eventName,
List<Partition> partitions) |
Collection<Cursor> |
getCursors(String eventName) |
void |
onError(String eventName,
Cursor cursor,
Throwable throwable) |
void |
onSuccess(String eventName,
Cursor cursor) |
default void |
updatePartitions(String eventName,
List<Partition> partitions) |
void onSuccess(String eventName, Cursor cursor) throws IOException
IOExceptionvoid onError(String eventName, Cursor cursor, Throwable throwable) throws IOException
IOExceptionCollection<Cursor> getCursors(String eventName) throws IOException
IOExceptiondefault void addSubscription(Subscription subscription)
default void fromNewestAvailableOffsets(String eventName, List<Partition> partitions) throws IOException
IOExceptiondefault void fromOldestAvailableOffset(String eventName, List<Partition> partitions) throws IOException
IOExceptiondefault void updatePartitions(String eventName, List<Partition> partitions) throws IOException
IOExceptionCopyright © 2016 Zalando SE. All rights reserved.