-
Notifications
You must be signed in to change notification settings - Fork 17
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
Proposal: Sync notifications adapter #82
Comments
AWS S3 and MinIO support 'bucket event' notifications already, which can be delivered in a variety of ways. It might be better to leverage that instead of creating a mechanism that risks inconsistency with the actual storage. |
Storj does not and even witht he |
What a dedicated pub-sub call would enable is to use the FileStorage backend. LN could use the FileStorage backend and to drop the snapshots without any changes to the current implementation into a directory and then generate an URL provided with with an simple template from the config. The directory could be a public folder of a webserver like apache secured with basic-auth |
The current Simpleblob interface for the storage backend can be paired with an Simplenotify interface.
The new interface could abstract away the current S3
storage_poll_interval
mechanismand maybe extended later by a MQTT implementation.
This would make it possible that the producer would publish the URI of the new snapshot to mqtt
and the consuming nodes would use the URI (can be presigned) to get the new snapshot.
The text was updated successfully, but these errors were encountered: