Crate akka_projection_rs
source ·Expand description
Akka projections
In Akka Projections you process a stream of event envelopes from a source to a projected model or external system. Each envelope is associated with an offset representing the position in the stream. This offset is used for resuming the stream from that position when the projection is restarted.
Modules
- Akka projections
- The consumer may define declarative filters that are sent to the producer and evaluated on the producer side before emitting the events.
- An offset store keeps track of the last offset used in relation to an entity, including its entity type. It can be used in various places, for example, when consuming event envelopes from a remote projection, where they be emitted by the consumer out of order. This entity can track such situations.
- A volatile offset store is provided for situations where events are always sourced events from their earliest offset. An example use case is when events are queried over HTTP from a web browser that does not retain the offset where it is up to.
Structs
- Errors for event processing by a handler.
- Errors for event processing by a handler.
- For the purposes of constructing unused handlers.
- For the purposes of constructing unused handlers.
Enums
- Captures the various types of handlers and the way they are performed.
Traits
- Handle event envelopes in any way that an application requires.
- Handle event envelopes in any way that an application requires.
- Provides a source of envelopes using slices as a query.