v.24.4Improvement
Allow special macros {uuid} and {database} in Replicated database ZooKeeper path
Allow special macros{uuid}and{database}in a Replicated database ZooKeeper path. #62818 (Vitaly Baranov).
Why it matters
This feature allows dynamic and more flexible configuration of ZooKeeper paths in Replicated databases by enabling the use of{uuid} and {database} macros. This helps avoid hardcoding values and facilitates easier management and uniqueness of the replication paths.How to use it
In the ZooKeeper path settings of a Replicated database, include the macros{uuid} and/or {database} in the path string. ClickHouse will automatically replace these macros with the database's UUID and database name respectively when establishing replication.