Skip to content

In-Memory View

In-Memory View#

The In-Memory View is component responsible for creating read-projections of tasks and business data entries. It implements the Taskpool and Datapool View API and persists the projection in memory. The projection is transient and relies on event replay on every application start. It is good for demonstration purposes if the number of events is manageable small, but will fail to delivery high performance results on a large number of items.


  • uses concurrent hash maps to store the read model
  • provides single query API
  • provides subscription query API (reactive)
  • relies on event replay and transient token store

Configuration options#

In order to activate the in-memory implementation, please include the following dependency on your classpath:


Then, add the following annotation to any class marked as Spring Configuration loaded during initialization:

public class MyViewConfiguration {


The view implementation provides runtime details using standard logging facility. If you want to increase the logging level, please setup it e.g. in your application.yaml: DEBUG

Last update: July 5, 2021