public static class PostgresOffsetContext.Loader extends Object implements OffsetContext.Loader
| Modifier and Type | Field and Description |
|---|---|
private PostgresConnectorConfig |
connectorConfig |
| Constructor and Description |
|---|
Loader(PostgresConnectorConfig connectorConfig) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
getPartition() |
OffsetContext |
load(Map<String,?> offset) |
private Long |
readOptionalLong(Map<String,?> offset,
String key) |
private final PostgresConnectorConfig connectorConfig
public Loader(PostgresConnectorConfig connectorConfig)
public Map<String,?> getPartition()
getPartition in interface OffsetContext.Loaderpublic OffsetContext load(Map<String,?> offset)
load in interface OffsetContext.LoaderCopyright © 2021 JBoss by Red Hat. All rights reserved.