Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Following changes need to be implemented:
1. Notify the Listener when a snapshot is available:
interface Listener<T> {
void handleSnapshot(SnapshotReader<T> snapshot);
...
}
It is possible that we can reuse the existing BatchReader<T> but I am not sure at this point. Whenever handleSnapshot is called the implementation should assume that the state has been rewound.
2. Update the ListenerContext when a snapshot is available:
class ListenerContext {
void fireHandleSnapshot(SnapshotReader<T> snapshot);
}
Attachments
Issue Links
- blocks
-
KAFKA-12155 Delay increasing the log start offset
- Resolved
- links to