New projection starting from checkpoint and not from start #156
|
services.AddSubscription<AllStreamSubscription, AllStreamSubscriptionOptions>( When I added ThirdProjection / event handler , It start listening to new event maybe because of the checkpoint store ? Can you suggest something here ? |
Replies: 2 comments · 3 replies
|
This is urgent and concerning issue |
|
Subscriptions start from the checkpoint stored in the checkpoint store by subscription id. Adding a new event handler does not force the subscription to replay all the events for that particular handler; it will continue from the last know checkpoints. It's all described in the docs. If you add a new handler that needs to start from scratch, you either need to replay everything by deleting the subscription checkpoint or create a new subscription for that handler alone. |
Subscriptions start from the checkpoint stored in the checkpoint store by subscription id. Adding a new event handler does not force the subscription to replay all the events for that particular handler; it will continue from the last know checkpoints. It's all described in the docs.
If you add a new handler that needs to start from scratch, you either need to replay everything by deleting the subscription checkpoint or create a new subscription for that handler alone.