You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "luffy1849 (via GitHub)" <gi...@apache.org> on 2023/04/13 11:21:49 UTC

[GitHub] [skywalking] luffy1849 commented on issue #6157: Failed to connect the Agent to the Kafka authenticated by SASL.

luffy1849 commented on issue #6157:
URL: https://github.com/apache/skywalking/issues/6157#issuecomment-1506792806

   My solution is that the `org.apache.kafka.common.security.plain.PlainLoginModule` class needs to be configured as `org.apache.skywalking.apm.dependencies.org.apache.kafka.common.security.plain.PlainLoginModule`. The complete configuration is as follows: 
   ```
   plugin.kafka.producer_config[security.protocol]=SASL_PLAINTEXT
   plugin.kafka.producer_config[sasl.mechanism]=PLAIN
   plugin.kafka.producer_config[sasl.jaas.config]=org.apache.skywalking.apm.dependencies.org.apache.kafka.common.security.plain.PlainLoginModule required username="" password="";
   plugin.kafka.producer_config[enable.idempotence]=false
   ```
   


-- 
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: notifications-unsubscribe@skywalking.apache.org

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