Adding in memory implememtation for pending checkpoint state
This commit is contained in:
parent
af0cd5463d
commit
26c737cc2a
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ public class InMemoryCheckpointer implements Checkpointer {
|
|||
@Override
|
||||
public void prepareCheckpoint(String leaseKey, ExtendedSequenceNumber pendingCheckpoint, byte[] pendingCheckpointState, String concurrencyToken) throws KinesisClientLibException {
|
||||
pendingCheckpoints.put(leaseKey, pendingCheckpoint);
|
||||
pendingCheckpointStates.put(leaseKey, pendingCheckpointState);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue