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

Added the first version of PostgreSQL async projections #197

Merged
merged 7 commits into from
Feb 26, 2025

Conversation

oskardudycz
Copy link
Collaborator

@oskardudycz oskardudycz commented Feb 21, 2025

  1. It can support both generic handling and async projection abstractions.
  2. It should be possible to plug it into EventStoreDB consumer, but that'll be tested in the follow-up PR. The key for that was allowed to pass connection options for the processor and using them as a fallback if the context got from the consumer doesn't have it. This will be useful also if you'd like to store read models in a different database than consumer code.
  3. Simplified ProjectionDefinition type and merged TypedProjectionDefinition into. That was made possible thanks to introducing AnyEvent type and enabling contravariance.

@oskardudycz oskardudycz force-pushed the async_postgresql_projections branch from 45dc1ff to 8ca0b59 Compare February 25, 2025 20:29
@oskardudycz oskardudycz force-pushed the async_postgresql_projections branch 2 times, most recently from 6943aab to fed72f7 Compare February 26, 2025 14:57
@oskardudycz oskardudycz marked this pull request as ready for review February 26, 2025 15:54
@oskardudycz oskardudycz force-pushed the async_postgresql_projections branch 2 times, most recently from 5de1a44 to 1a58a3d Compare February 26, 2025 17:10
@oskardudycz oskardudycz force-pushed the async_postgresql_projections branch from 1a58a3d to 18de7e4 Compare February 26, 2025 17:24
@oskardudycz oskardudycz added this to the 0.31.0 milestone Feb 26, 2025
@oskardudycz oskardudycz merged commit 9d8095d into main Feb 26, 2025
3 checks passed
@oskardudycz oskardudycz deleted the async_postgresql_projections branch February 26, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant