Closed MaxOrelus closed 4 years ago
Hello,
Try using following parameters. Let me know if this works.
bootstrap.servers: "hostname:port",
security.protocol: "SASL_SSL",
isolation.level: "read_committed",
sasl.mechanism: "PLAIN",
ssl.enabled.protocols: "TLSv1.2",
sasl.jaas.config: "org.apache.kafka.common.security.plain.PlainLoginModule required username='username_here' password='password_here';",
ssl.endpoint.identification.algorithm: ""
Thank you, Jeet
Thanks, but I wasn't using SASL_SSL, just the basic SSL. I was able to get it working with the following:
{
"bootstrap.servers": "<SERVER>:9093",
"security.protocol": "SSL",
"ssl.truststore.location": "/tmp/ssl/server.truststore.jks",
"ssl.truststore.password": "<PASSWORD>",
"ssl.truststore.type": "JKS",
"ssl.key.password": "<PASSWORD>",
"ssl.keystore.location": "/tmp/ssl/server.keystore.jks",
"ssl.keystore.password": "<PASSWORD>,
"ssl.keystore.type": "JKS",
"ssl.endpoint.identification.algorithm": ""
}
Hello,
Try using following parameters. Let me know if this works.
bootstrap.servers: "hostname:port", security.protocol: "SASL_SSL", isolation.level: "read_committed", sasl.mechanism: "PLAIN", ssl.enabled.protocols: "TLSv1.2", sasl.jaas.config: "org.apache.kafka.common.security.plain.PlainLoginModule required username='username_here' password='password_here';", ssl.endpoint.identification.algorithm: ""
Thank you, Jeet
it works for me, very thanks~
I have the extension:
That's the error. After going through all the documentation and issues in github I'm not able to connect to a Kafka instance that is using TLS/SSL. These are the settings I have so far:
The full blown spec looks like:
The website is lacking information on how to setup up Kafka index services when you have TLS/SSL. I don't want to take up much of any one's time, but I'm just trying to figure out how to connect to my Kafka broker via druid. Is there something I'm missing here or is there any other steps I have to do to get this working?
Warm regards, M