rita icon indicating copy to clipboard operation
rita copied to clipboard

Replay

Open gedw99 opened this issue 1 year ago • 1 comments

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.

gedw99 avatar Apr 23 '23 08:04 gedw99

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?

bruth avatar May 02 '23 21:05 bruth