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

Should notifications have a feedback loop (a.k.a. Delivery Status Notifications like with email)? #87

Closed
stevenhartley opened this issue Mar 15, 2024 · 2 comments
Assignees
Labels
question Further information is requested wontfix This will not be worked on

Comments

@stevenhartley
Copy link
Contributor

uProtocol notifications are very similar to email in that they are sent from one source to a specific destination. Like with emails, it would be great to know if the notification was delivered or not but currently only the RCP pattern supports acknowledgement of receipt of a request with a response message.

We have relied on notifications as part of the core uProtocol business logic for subscription and discovery database changes however we have observed that often these messages are getting lost and there is no feedback to the producer who sent the notification message.

If we want notifications to truly be like emails and provide some reliability in the delivery, we need to send feedback to the sender if a notification failed to be delivered, that is where a protocol (or concept) like Delivery Status Notifications (DSN) comes into play described in RFC3464.

This issue will be used to discuss and propose a solution for delivery status notifications.

@tamarafischer
Copy link

@stevenhartley was curious as to why messages are getting lost. Is there no QoS defined on a UPlatform for message delivery?
In addition, it sounds a little like an exactly once delivery semantics which, in distributed systems, is quite complex to implement with high reliability.
Can you specify the use cases where this is a concern. It would make it easier to identify the correct solution.

@stevenhartley stevenhartley added the enhancement New feature or request label Mar 19, 2024
@stevenhartley stevenhartley self-assigned this Apr 3, 2024
@stevenhartley stevenhartley added the question Further information is requested label Apr 3, 2024
@stevenhartley stevenhartley changed the title Delivery Status Notifications (DSN) Should notifications have a feedback loop (a.k.a. Delivery Status Notifications like with email)? Apr 3, 2024
@stevenhartley stevenhartley removed the enhancement New feature or request label May 2, 2024
@stevenhartley
Copy link
Contributor Author

Closing for now, will revisit later as needed

@stevenhartley stevenhartley added the wontfix This will not be worked on label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants