Repository navigation
Release v19.144.0
A Kernel can now store read models and graphs in several named sinks, each with its own connection, and every read model or graph chooses one.
Added
- Named sinks in the Kernel: an optional
sinkssection names sink configurations of typeMongoDB,SQLorNeo4j, each with its own connection, andsinks.readModelsandsinks.graphschoose the defaults. Read models can now live in a different server or engine than the events, and one Kernel can serve several Neo4j servers. Invalid configuration stops the Kernel at startup with a message naming the configuration (#5735) [Sink("name")]for read model types (model-bound, projection and reducer) and graph types, andChronicleOptions.DefaultSinkNameandDefaultGraphSinkNamein the .NET client- A
Namefield on theSinkDefinitioncontract; empty means the default sink, so existing clients keep working - Analyzer CHR0069 reports
[Sink]combined with[Passive]
Changed
- The Kernel refuses a read model that names an unknown sink at registration, naming the read model and the sink. Without a
sinkssection nothing changes - A read model moved to another sink is replayed into it, following the definition evolution policy; read models whose sink is unchanged are not replayed