HAProxy configuration parameters
To configure the service, use the following configuration parameters in ADCM.
|
NOTE
|
Configuration parameters of the HAProxy Server component:
The haproxy.cfg file template for specifying custom HAProxy parameters.
Default template content — haproxy_cfg_template.
Configuration for the pool of servers that the load balancer will send requests to.
| Parameter | Description | Default value |
|---|---|---|
Force IPv4 |
Adds the |
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 |
— |
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 |
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 GET /subjects |
Schema-Registry HAProxy config template |
Jinja template with HAProxy configuration for Schema-Registry |
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 GET /topics |
Kafka REST HAProxy config template |
Jinja template with HAProxy configuration for Schema-Registry |