Skip to content

Commit 3cb06dd

Browse files
committed
bugfix: ephemeral readmodels are now correctly populated upon restart
1 parent f50c5da commit 3cb06dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sliceworkz-eventmodeling-impl/src/main/java/org/sliceworkz/eventmodeling/module/eventdispatching/EventuallyConsistentEventProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void run ( ) {
118118

119119
if ( processorIdentification.storage() == Storage.EPHEMERAL ) {
120120
LOGGER.info("EPHEMERAL storage, processing stream from start ...");
121-
mustFetchBookmark = false; // ignore any existing bookmark that might be there from a previous process
121+
eventSource.removeBookmark(processorIdentification.toString()); // so we can't read one from a previous run for ephemeral readmodels
122122
}
123123

124124
while ( instanceMode != ProcessorInstanceMode.TERMINATING ) {

0 commit comments

Comments
 (0)