AggregateProperties

An aggregate type's settings. tenant fixes the tenant of every aggregate of the type: its commands and state reads are in that tenant whoever the caller is (me.ahoo.wow.spi.tenant.TenantPolicy). idGenerator names the me.ahoo.wow.spi.id.AggregateIdGenerator bean that gives the type's new ids, or a generator an me.ahoo.wow.spi.id.AggregateIdGeneratorSource bean finds by that name (CosId's, with wow-cosid); the type's ids come from the wowAggregateIdGenerator bean otherwise. A type the node does not serve, or a name nothing gives a generator of, is refused at startup.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

How the ClickHouse Sink keeps the type's commits, in the same style as the other per-aggregate keys; it replaces the removed wow.clickhouse.sink.aggregates.

Link copied to clipboard

The id generator that gives the type's new ids, by name.

Link copied to clipboard

The store of the type's log, over wow.log.store: the type's log group.

Link copied to clipboard

The type's queries: whether its events queries that name no aggregate run, and the store they read.

Link copied to clipboard

How the commands of the type are routed, over wow.routing (CommandRouting): topic writes them to its context's command topic, accepted once the broker acknowledged them, which needs a topic transport; partitioned and local are the node's, so they name the routing wow.routing gives it.

Link copied to clipboard

The stores of the type's snapshots, over wow.snapshot.stores; its queries read the primary one.

Link copied to clipboard

The tenant every aggregate of the type is in, whoever the caller is.