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

[Listener] Improve configurability #16

Open
Freyskeyd opened this issue Oct 1, 2021 · 0 comments
Open

[Listener] Improve configurability #16

Freyskeyd opened this issue Oct 1, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Freyskeyd
Copy link
Owner

The Listener is responsible of listening for events that are appended to a stream and forward them to the SubscriberManager to notify every EventHandler interested.

The fact is that the Listener isn't really linked to the Storage. For now we are using PGNotify as a notifier but it could be any message queuing components such as kafka, etc.

In order to be able to configure the Listener of an application we need to move it into the EventStore crate where it belongs. We don't need to have a strong coupling between Listener and Backend because they can be different engines.

Listeners could be:

  • A message broker
  • Websockets exchange between applications
  • HTTP calls between applications

The work on this is still in progress, feel free to share ideas or suggestions

@Freyskeyd Freyskeyd added enhancement New feature or request help wanted Extra attention is needed labels Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant