Skip to main content

kafka-sasl-ssl-env-vars

KAFKA_BROKER_ADDRESS=<URL to your Kafka broker e.g localhost:9092 >
KAFKA_TOPIC=<topic name>
KAFKA_SECURITY_PROTOCOL=SASL_SSL # specifies that credentials will be communicated over encryption using TLS
KAFKA_SASL_MECHANISM=PLAIN # specifies that username/password will not be protected with additional protection mechanisms
KAFKA_SASL_USERNAME=<username>
KAFKA_SASL_PASSWORD=<password>
KAFKA_SSL_CA_LOCATION=<CA certificate location>