v.22.7New Feature
Implement NATS Table Engine for Pub/Sub Functionality in ClickHouse
Implement NATS table engine, which allows to pub/sub to NATS. Closes #32388. #37171 (tchepavel). (Kseniia Sumarokova)
Why it matters
This feature addresses the need for seamless streaming data ingestion and consumption by allowing ClickHouse to directly interact with NATS, a popular lightweight messaging system. It simplifies real-time data pipelines and enhances ClickHouse’s capabilities in event-driven architectures.How to use it
Users can create a table with theNATS engine specifying the connection parameters to the NATS server. The table engine supports subscribing to NATS subjects to consume messages or publishing data back to NATS topics, enabling direct pub/sub operations within ClickHouse SQL queries.