public class JdbcCursorManager extends Object implements CursorManager
OFFSET_ORDERING| Constructor and Description |
|---|
JdbcCursorManager(DataSource dataSource,
String consumerName) |
JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName) |
JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName,
String schema) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cursor> |
getCursors(String eventName) |
void |
onError(String eventName,
Cursor cursor,
Throwable throwable) |
void |
onSuccess(String eventName,
Cursor cursor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSubscription, fromNewestAvailableOffsets, fromOldestAvailableOffset, updatePartitionspublic JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName,
String schema)
public JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName)
public JdbcCursorManager(DataSource dataSource, String consumerName)
public void onSuccess(String eventName, Cursor cursor) throws IOException
onSuccess in interface CursorManagerIOExceptionpublic void onError(String eventName, Cursor cursor, Throwable throwable)
onError in interface CursorManagerpublic Collection<Cursor> getCursors(String eventName) throws IOException
getCursors in interface CursorManagerIOExceptionCopyright © 2016 Zalando SE. All rights reserved.