MG>below

________________________________
From: Chris Constantin <chris.constan...@aligned.io>
Sent: Friday, July 19, 2019 2:09 PM
To: users@kafka.apache.org
Subject: topic admin over SSL/SASL

Hi,

How can the security.protocol config can be passed in to
'kafka-topics'/TopicAdmin when creating topics?
I can pass
in -Djavax.net.ssl.trustStore, -Djavax.net.ssl.trustStorePassword
-Djava.security.auth.login.config via KAFKA_OPTS, but I can't figure out
how to set security.protocol
MG>Configure the following properties in $KAFKA_HOME/config/producer.properties 
or $KAFKA_HOME/config/consumer.properties:
security.protocol=SASL_PLAINTEXT (or SASL_SSL)

and sasl.mechanism
MG>Configure the SASL mechanism for inter-broker communication in 
$KAFKA_HOME/config/server.properties if using SASL for inter-broker 
communication:
MG>   sasl.mechanism.inter.broker.protocol=GSSAPI (or PLAIN)

MG>examples should be located in 
tests/kafkatest/services/kafka/templates/kafka.properties

Thank you,
Chris
MG>HTH

Reply via email to