ssl.enabled.protocols=TLSv1.2,TLSv1.1,TLSv1 ssl.keystore.type=JKS ssl.truststore.type=JKS # kafka2.0.x开始,将ssl.endpoint.identification.algorithm设置为了HTTPS,即:需要验证主机名 # 如果不需要验证主机名,那么可以这么设置 ssl.endpoint.identification.algorithm=即可 ssl.endpoint.identification.algorithm= ...
如果正在使用Kerberos或LDAP身份验证:如果启用了TLS,请将其设置为SASL_SSL如果未启用TLS,请将其设置为SASL_PLAINTEXT除此以外:如果启用了TLS,请将其设置为SSL如果未启用TLS,请将其设置为PLAINTEXT如果您使用不同的安全协议定义了多个侦听器,并且推断的中间代理协议不是您要使用的协议,则可以使用上面显示的属性...
# Complete configuration fileforLDAPauth $ cat ldap-client.properties security.protocol=SASL_SSLsasl.mechanism=PLAINsasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="alice"password="supersecret1";ssl.truststore.location=/opt/cloudera/security/jks/truststore.jks #...
# returned from java.net.InetAddress.getCanonicalHostName().#advertised.listeners=PLAINTEXT://your.host.name:9092# Maps listener names to security protocols,thedefaultisforthem to be the same.See the config documentationformore details #listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_...
#listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL # The number of threads that the server uses for receiving requests from the network and sending responses to the network num.network.threads=3 ...
required useTicketCache=true;ssl.truststore.location=/opt/cloudera/security/jks/truststore.jks# Authenticate with Kerberos to get a valid ticket$kinit alicePasswordfor alice@REALM:# Connect to Kafka using the ticket in the ticket cache$kafka-console-consumer \ --bootstrap-server host-1.example...
Telegraf必须配置一个合法的tls_ca路径,使用服务器自带的根证书的路径即可。Linux环境中,根证书CA路径一般为/etc/ssl/certs/ca-bundle.crt。 示例中用到的SLS_开头的参数配置请参见配置方式。 # Kafka output plugin configuration[[outputs.kafka]]## URLs of kafka brokersbrokers=["SLS_KAFKA_ENDPOINT"]## Ka...
Telegraf必须配置一个合法的tls_ca路径,使用服务器自带的根证书的路径即可。Linux环境中,根证书CA路径一般为/etc/ssl/certs/ca-bundle.crt。 示例中用到的SLS_开头的参数配置请参见配置方式。 # Kafka output plugin configuration[[outputs.kafka]]## URLs of kafka brokersbrokers=["SLS_KAFKA_ENDPOINT"]## Ka...
configuration.xsl log4j.properties zoo_sample.cfg [root@localhost conf]# cp zoo_sample.cfg zoo.cfg [root@localhost conf]# ls configuration.xsl log4j.properties zoo.cfg zoo_sample.cfg [root@localhost conf]# vi zoo.cfg 1. 2. 3. 4. ...
"broker1.example.com:9094" 和安全协议 "ssl" 连接到代理。如果没有显式配置,则默认值为 null,且没有控制器连接的专用端点。如果明确配置,则该值不能与 inter.broker.listener.name 的值相同。 controller.listener.names type: string default: null importance: high dynamic update: read-onl...