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) { context, stream -> sinks.sinkOf(context, stream.aggregate) }, so each is a sink subscription named clickhouse-sink.<aggregate>.

Constructors

Link copied to clipboard
constructor(client: Client, manifest: Manifest, options: ClickHouseSinkOptions = ClickHouseSinkOptions(), governed: GovernedAggregates? = null)

The Sinks over a client-v2 client; the client is the caller's to close.

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