title: "Materialize v0.84" date: 2024-01-24 released: true
SIZE
option for sources and sinks, which
transparently created a (linked) cluster to maintain the object. Use the
IN CLUSTER
clause to create a source or sink in a specific a cluster. If
you omit the clause altogether, the object will be created in the active
cluster for the session.New syntax
--Create the object in a specific cluster
CREATE SOURCE json_source
IN CLUSTER some_cluster
FROM KAFKA CONNECTION kafka_connection (TOPIC 'ch_anges')
FORMAT JSON;
--Create the object in the active cluster
CREATE SOURCE json_source
FROM KAFKA CONNECTION kafka_connection (TOPIC 'ch_anges')
FORMAT JSON;
Deprecated syntax
--Create the object in a dedicated (linked) cluster
CREATE SOURCE json_source
FROM KAFKA CONNECTION kafka_connection (TOPIC 'ch_anges')
FORMAT JSON
WITH (SIZE = '3xsmall');
transaction.timeout.ms
) configurable for
Kafka sinks. Default: 60000ms.