Settings for a ProjectionEngine.
Value parameters
- batchSize
-
the most events read together while catching up on history. Each event of a batch is still applied, and its position saved, on its own.
- batchTimeout
-
how long catch-up waits for a batch to fill before it applies what it has
- evolution
-
settings for SchemaEvolution. The engine does not read them: it always tries the migration shortcut when a migration is registered for the projection, and uses its own
lazyRebuildandrebuildParallelism. - lazyRebuild
-
if
true, a projection whose schema changed is only marked as pending at startup, and rebuilt on its first query or by the background pre-warm. Iffalse, the default, it is rebuilt duringstart. - rebuildParallelism
-
the size of the groups in which the background pre-warm rebuilds pending projections when
lazyRebuildis on. The groups, and the projections in them, are rebuilt one after the other. - ringCapacity
-
the capacity of the bounded hub that carries live events, where a hub is created from the config, as
TestEnginedoes. An event store made withSQLiteEventStore.makehas its own hub of 4,096 events.
Attributes
- Companion
- object
- Source
- ProjectionEngine.scala
- Graph
-
- Supertypes