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

Research how to integrate with Discourse's MessageBus to get realtime notifications #17

Open
orlando opened this issue Mar 23, 2019 · 0 comments
Labels
enhancement New feature or request research This issue needs research

Comments

@orlando
Copy link
Contributor

orlando commented Mar 23, 2019

Discourse uses message_bus to provide real-time notifications. We want to leverage this in our Header, for both Sessions (ex: single logout) and updates.

The flow we are expecting to implement is the Header connecting via message bus to the same channels where Discourse sends notifications to the current logged in user, this way achieving the same reactivity Discourse has in all of our apps.

As part of the research, we expect to define:

  • How message_bus works in Discourse.
  • How to connect from other services to message_bus using the current user credentials.
  • What events we need to listen from message_bus and how we will process them in our Header to achieve the same functionality Discourse has for notifications.
  • How we can leverage message_bus to implement our own notifications.

Acceptance criteria

  • Research how we can connect and receive events from Discourse via message_bus
@orlando orlando added enhancement New feature or request research This issue needs research labels Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research This issue needs research
Projects
None yet
Development

No branches or pull requests

1 participant