Hi,
Looking for a sample Play app that uses CQRS + Akka Typed Persistence:
- Without sharding since this is a single instance Play app
- With Typed Actors (EventSourcedBehaviors) that have unique persistence IDs like “ShoppingCart|123”
- Call a unique actor from a controller
These examples are close but missing one or more key pieces:
-
https://www.playframework.com/documentation/2.8.x/AkkaTyped
- Assumes Actors have well known names like “ShoppingCart” instead of typed factory like “ShoppingCart|123”
- github play-scala-websocket-example
- doesn’t use Akka Typed Persistence
- github akka-sample-sharding-scala
- doesn’t use play
- https://github.com/playframework/playframework/issues/9278 appears related but would just remove boilerplate.