You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/07/22 07:06:51 UTC

[GitHub] [druid] isandeep41 commented on issue #8914: Is there an example kafka-emitter producer.config using sasl_ssl?

isandeep41 commented on issue #8914:
URL: https://github.com/apache/druid/issues/8914#issuecomment-884699310


   Druid already supports `SASL_SSL` related parameters.
   One has to tweak this [Kafka Emitter](https://druid.apache.org/docs/latest/development/extensions-contrib/kafka-emitter.html) config parameter: 
   
   `druid.emitter.kafka.producer.config`
   
   For example:
   ```sh
   druid.emitter.kafka.producer.config={"request.timeout.ms":  {{ timeout_ms }}, "batch.size": {{ batch_size }}, "sasl.mechanism": "PLAIN", "security.protocol": "SASL_PLAINTEXT", "sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required username=\\"{{ username }}\\" password=\\"{{ password }}\\";"}
   ```
   Tested with Druid : 0.20.2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org