Settings
Basic RabbitMQ settings and use cases: https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq
Latest improvements/fixes
(v23.10+)
- Allow to save unparsed records and errors in RabbitMQ:
NATS and FileLog engines. Add virtual columns
_error
and_raw_message
(for NATS and RabbitMQ),_raw_record
(for FileLog) that are filled when ClickHouse fails to parse new record. The behaviour is controlled under storage settingsnats_handle_error_mode
for NATS,rabbitmq_handle_error_mode
for RabbitMQ,handle_error_mode
for FileLog similar tokafka_handle_error_mode
. If it’s set todefault
, en exception will be thrown when ClickHouse fails to parse a record, if it’s set tostream
, error and raw record will be saved into virtual columns. Closes #36035 and #55477