log4j2 kafka appender over TLS/SSL

Viewed 2111

I am trying to use the Apache Kafka appender for log4j2. I am able to publish my logs over Kafka successfully. The question I have is whether I can publish over TLS/SSL. I could not find documentation on how to configure a secure transport for the log4j2 kafka appender, or maybe I am lazy. Any help is appreciated.

2 Answers

If needed the keystore/trustore type might be set like this.

<Property name="ssl.truststore.type">PKCS12</Property>
Related