-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I've had a number of times where, for some reason, my jetstream container stops abruptly without saving the cursor file properly. So when it restarts, the cursor file exists, but it's empty/corrupt, so jetstream throws an error when trying to start its subscription. This prevents the container from coming back online without manual intervention (removing the cursor file).
I'll likely implement this is my fork, but it would be helpful if
- Every so often, the current valid cursor file is backed up to a separate file
- If jetstream starts and the cursor file is corrupt, attempt to use the latest backup or create a new one. Don't block jetstream from starting
I'm going to try to implement this, but I have very very little go experience.
Metadata
Metadata
Assignees
Labels
No labels