v.20.9Improvement

Improvements in RabbitMQ Engine and Enhanced Failure Handling

Improvements in RabbitMQ engine: added connection and channels failure handling, proper commits, insert failures handling, better exchanges, queue durability and queue resume opportunity, new queue settings. Fixed tests. #12761 (Kseniia Sumarokova).
Enhanced RabbitMQ engine resilience and reliability: Added robust connection and channel failure handling, improved commit mechanics, insert failure handling, enhanced exchange and queue durability, and introduced new queue configuration settings.

Why it matters

Improve stability and fault tolerance of the RabbitMQ engine in ClickHouse by addressing connection/channel failures, ensuring proper commits and retries on insert failures, and offering better queue durability and configuration options to maintain message processing continuity.

How to use it

To take advantage of the improved RabbitMQ engine, users can update ClickHouse to the version including these enhancements. New queue settings and durability options can be configured when creating or modifying RabbitMQ tables or queues, ensuring better fault tolerance and resume capabilities in case of connection or insert failures.