package slick
- Alphabetic
- Public
- Protected
Type Members
- trait SlickHandler[Envelope] extends HandlerLifecycle
Implement this interface for the Envelope handler in SlickProjection.
Implement this interface for the Envelope handler in SlickProjection.
It can be stateful, with variables and mutable data structures. It is invoked by the
Projection
machinery one envelope at a time and visibility guarantees between the invocations are handled automatically, i.e. no volatile or other concurrency primitives are needed for managing the state.Supported error handling strategies for when processing an
Envelope
fails can be defined in configuration or using thewithRecoveryStrategy
method of aProjection
implementation.- Annotations
- @ApiMayChange()
Value Members
- object SlickHandler
- Annotations
- @ApiMayChange()
- object SlickProjection
Factories of pekko.projection.Projection where the offset is stored in a relational database table using Slick.
Factories of pekko.projection.Projection where the offset is stored in a relational database table using Slick. The envelope handler can integrate with anything, such as publishing to a message broker, or updating a relational read model.
- Annotations
- @ApiMayChange()