Postgres: Starting a subscription from "now" checkpoint #451
-
|
In the Subscription section of the docs, I found the following:
I have a scenario where a new subscription is needed for integration purposes so I'd like to create a new subscription that starts from "now". builder.Services.AddSubscription<PostgresAllStreamSubscription, PostgresAllStreamSubscriptionOptions>("integration-sub", b =>
{
b
.AddEventHandler<IntegrationHandler>()
.UseCheckpointStore<PostgresCheckpointStore>();
});Is there a way I can configure the checkpoint to start at the latest How should I set this up for new subscriptions? (Happy to update the docs with an example later 🙂 ). I have also seen the Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hm, somehow it got missed. The start position is taken from the checkpoint store and if it doesn't exist, it will start from the beginning. There's no impediment to start from the end, but it's not implemented. Mind opening an issue? |
Beta Was this translation helpful? Give feedback.
Hm, somehow it got missed. The start position is taken from the checkpoint store and if it doesn't exist, it will start from the beginning. There's no impediment to start from the end, but it's not implemented. Mind opening an issue?