HAProxy configuration parameters

To configure the service, use the following configuration parameters in ADCM.

NOTE
  • Some of the parameters become visible in the ADCM UI after the Advanced flag has been set.

  • The parameters that are set in the Custom group will overwrite the existing parameters even if they are read-only.

Configuration parameters of the HAProxy Server component:

haproxy_cfg_template

The haproxy.cfg file template for specifying custom HAProxy parameters.

Default template content — haproxy_cfg_template.

Backend network

Configuration for the pool of servers that the load balancer will send requests to.

Parameter Description Default value

Force IPv4

Adds the ipv4@ prefix to HAProxy backend hostnames to enable the IPv4 address resolution protocol

true

Parameter Description Default value

SSL frontend path

Path to the certificate for client HTTPS connections in standard PEM format. The certificate must contain the private key

 — 

Listener stats

Configuration for the statistics collection. Statistics collection is enabled by default and the data is available at the following endpoint: http://<HAProxy_Server_host>:<port>/.

Parameter Description Default value

Port

Port for collecting statistics

7001

User

Username for collecting statistics

haproxy

Password

User password for collecting statistics

haproxy

Listener Schema Registry

Configuration for the Kafka Schema-Registry service: the frontend (IP addresses and ports to which clients can connect) and the backend (defines the pool of servers to which the load balancer will route requests).

Parameter Description Default value

Frontend Port

Port for receiving HTTP traffic on all IP addresses assigned to the server

8085

Backend balance

Backend server load balancing algorithm for each request or connection

roundrobin

Backend option

HAProxy Server health monitoring httpchk endpoint

httpchk GET /subjects

Schema-Registry HAProxy config template

Jinja template with HAProxy configuration for Schema-Registry

Listener Kafka REST

Configuration for the Kafka REST Proxy service: the frontend (IP addresses and ports to which clients can connect) and the backend (defines the pool of servers to which the load balancer will route requests).

Parameter Description Default value

Frontend Port

Port for receiving HTTP traffic on all IP addresses assigned to the server

8086

Backend balance

Backend server load balancing algorithm for each request or connection

roundrobin

Backend option

HAProxy Server health monitoring httpchk endpoint

httpchk GET /topics

Kafka REST HAProxy config template

Jinja template with HAProxy configuration for Schema-Registry

Found a mistake? Seleсt text and press Ctrl+Enter to report it