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

Replay #9

Open
gedw99 opened this issue Apr 23, 2023 · 1 comment
Open

Replay #9

gedw99 opened this issue Apr 23, 2023 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Apr 23, 2023

Hey @bruth

do you have a plan / solution for replay ?

Use cases:

You added a new aggregate of Consumer type and need to populate the read only side.

you are in Dev mode and want to deploy to Prod and have also introduced new events too. So you need those events to be run and consumers to create new read only data.

there are probysome side edges I am missing too in my use cases.

I am using Rita with wasm and if course Jetstream as a bit of a thought experiment.

@bruth
Copy link
Owner

bruth commented May 2, 2023

I had prototyped an abstraction for a "read model" which is built on a consumer. This can be an ephemeral one which exists for the duration of a process or a durable one which will "resume" or "catch-up" from where it left off.

This means if new events are stored that the consumer has interest in, those would be then delivered/consumed by the read model.

Is the question geared towards this abstraction and less about how it works?

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

No branches or pull requests

2 participants