Skip to content

EventStoreDB: ReadModel Subscription and Checkpoint #76

Discussion options

You must be logged in to vote

@martinsimonovski, I apologise for the delay in answering, but it seems GH notifications suck...

Regarding your question, it's recommended to store it in the same storage as the read model if we want to make it transactional (if end storage supports that). That may help in reducing idempotency, as there won't be possible to have read model applied, but checkpoint not being stored.

My sample shows the most straightforward approach, so storing checkpoints inside the EventStoreDB. It's still possible to reset the checkpoint by soft deleting or setting truncate before on the checkpoint stream. Then no checkpoint will be available there, and the subscription after restarting will start from th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by martinsimonovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment