Closed obitech closed 4 years ago
The documentation states that the Kafka SSL connection can be configured via the following variables:
KAFKA_TLS_CLIENT_CERT_FILE: Kafka SSL client certificate file, defaults to "" KAFKA_TLS_CLIENT_KEY_FILE: Kafka SSL client certificate key file, defaults to "" KAFKA_TLS_CLIENT_KEY_PASS: Kafka SSL client certificate key password (optional), defaults to "" KAFKA_TLS_CA_CERT_FILE: Kafka SSL broker CA certificate file, defaults to ""
However, the config expects _SSL_ instead of _TLS_ inside the variable names in https://github.com/Telefonica/prometheus-kafka-adapter/blob/master/config.go#L82:
_SSL_
_TLS_
if value := os.Getenv("KAFKA_SSL_CLIENT_CERT_FILE"); value != "" { kafkaSslClientCertFile = value }
The documentation states that the Kafka SSL connection can be configured via the following variables:
However, the config expects
_SSL_
instead of_TLS_
inside the variable names in https://github.com/Telefonica/prometheus-kafka-adapter/blob/master/config.go#L82: