v.23.8Improvement

Add Predefined Macros Support in Kafka Engine Settings

Add support of predefined macro ({database} and {table}) in some Kafka engine settings: topic, consumer, client_id, etc. #52386 (Yury Bogomolov).
Add support for predefined macros {database} and {table} in Kafka engine settings, such as topic, consumer, and client_id.

Why it matters

This feature allows dynamic substitution of the database and table names in Kafka engine configurations, simplifying configuration management and enabling more flexible and reusable setups.

How to use it

Use the macros {database} and {table} within Kafka engine settings like topic, consumer, and client_id. ClickHouse will automatically replace these placeholders with the actual database and table names at runtime.