EventSourcedBehaviors along with Akka Projections can be used to implement Command Query Responsibility Segregation (CQRS).

The CQRS example projectCQRS example project shows how to do this, including scaling read side processors for building projections. In the sample the events are tagged to be consumed by even processors to build other representations from the events, or publish the events to other services.

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.