v.22.9Improvement

ClickHouse Keeper: Conditional Listeners for interserver_listen_host

ClickHouse Keeper: add listeners for interserver_listen_host only in Keeper if specified. #39973 (Antonio Andelic).
ClickHouse Keeper now adds listeners for interserver_listen_host only when it is explicitly specified in the configuration.

Why it matters

This feature improves configurability and control over the network interfaces that ClickHouse Keeper listens on, preventing unnecessary listeners from being added. It helps in scenarios where users want to restrict Keeper's network bindings to specific hosts, enhancing security and reducing resource usage.

How to use it

To enable this behavior, specify the interserver_listen_host parameter in the Keeper configuration. Listeners will then be added only for the hosts defined by this setting, otherwise, no default listeners will be created for interserver communication.