rita
rita copied to clipboard
Toolkit for event-centric and reactive patterns leveraging https://nats.io.
Replay
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....
Rita looks really nice. As per https://github.com/nats-io/nats-server/issues/2656 It looks like Rita might be a good way to calculate atomic counters and other such things. In the issue the hack is...
The current interface looks as follows: ```go type Decider interface { Decide(command *Command) ([]*Event, error) } ```
For some use cases it may be desirable to store a snapshot of a given aggregate. Often this is an optimization and not necessary unless the aggregate is very active....
There are a few terms to disambiguate: - entity - ID of the logical entity in the domain - aggregate (as defined by DDD) - a discrete model of the...
Similar to how the KV and Object Store APIs have prefixes, this is desirable to prevent subject clashes with application managed subjects. For example, an event store `r.EventStore("orders").Create(nil)` would create...
The use case here is that any time a model of state/view/projection changes as the result of an event being appended to a stream, the changed value can be published...