ClickHouseSinkProvider
The ClickHouse Sink, type clickhouse: switched on by sink.enabled: true alone, since writing every event to a warehouse is a cost a service chooses; neither a client nor an endpoint switches it on. It writes every stream the service's Manifest (a resource of the application) publishes, through the application's Client when it has one, which it never closes, else through one of endpoint and the credentials, which it closes with the sinks (ClickHouseClients.clientOf); with neither, it fails the start naming both. Its settings, relative to its configuration (wow.clickhouse.*), are its options: the connection's, ddl (Ddl, auto by default; the host gives wow.ddl when it is not set), sink.batch-size, sink.deduplication-window, and each aggregate type's history.enabled and history.ttl under aggregates.<context>.<aggregate>, which the host gives from wow.aggregates.[<context>.<aggregate>].clickhouse.history.* (ClickHouseSinkOptions).