ClickHouseSinks

The ClickHouse Sinks of a service: sinkOf gives the ClickHouseSink of an aggregate the manifest declares, its tables in options' database, its flat view's columns from the aggregate's state schema in the Manifest's $defs (FlatColumns).

The runtime assembles them as the published streams' sinks, PublishedSinks(published, PROCESSOR, masks = null) { context, stream -> sinks.sinkOf(context, stream.aggregate) }, so each is a sink subscription named clickhouse-sink.<aggregate>, writing the values as committed: a read of the tables masks what it returns.

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard

The wow_catalog entries of type's tables.

Link copied to clipboard

The tables and views of type.

Link copied to clipboard
fun sinkOf(context: String, aggregate: String): ClickHouseSink

The Sink of aggregate of context.

Link copied to clipboard
open override fun toString(): String