Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save the last processed index of the certstream log when certstream-server-go exits #46

Open
messede-degod opened this issue Jan 6, 2025 · 2 comments
Labels
feature New feature or request

Comments

@messede-degod
Copy link

Saving the last processed index of the certstream log when certstream-server-go exits allows the user to continue where they left off and not miss out the previous certificates.

@d-Rickyy-b
Copy link
Owner

I'll definitely look into this. Currently the application doesn't store anything on the machine, so we'd need some kind of storage format. That could be as simple as a json file to not introduce new dependencies. What do you think?

@d-Rickyy-b d-Rickyy-b added the feature New feature or request label Jan 10, 2025
@messede-degod
Copy link
Author

yep, this sounds good, i think storing [certstream.Entry].Data.Source.URL and [certstream.Entry].Data.CertIndex in a map (similar to what we do for metrics) and persisting it should do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants