Skip to content

Release v19.144.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 19:14
34cbf5a

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 sinks section names sink configurations of type MongoDB, SQL or Neo4j, each with its own connection, and sinks.readModels and sinks.graphs choose 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, and ChronicleOptions.DefaultSinkName and DefaultGraphSinkName in the .NET client
  • A Name field on the SinkDefinition contract; 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 sinks section 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