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

Async subscriptions for PostgreSQL event store #128

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

oskardudycz
Copy link
Collaborator

No description provided.

Consumer will be responsible for pulling messages and feeding it to subscriptions.

A single consumer can be feeding multiple subscriptions. Thanks to that user can choose the subscriptions isolation. Havina a single consumer for multiple subscriptions makes it less chatty, as there'll be only a single process pulling. Multiple consumers can be spin up to scale subscriptions separately or handle rebuilds.

Now, the same PostgreSQLSubscription can be feeded from other sources than event store, but storing checkpointing in the same place, and handling projections (so e.g. connecting Kafka, or logical replication instead of the message pulling).

Message Puller was taken out to a dedicated file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant