dongjinleekr commented on pull request #7898:
URL: https://github.com/apache/kafka/pull/7898#issuecomment-786645278


   @priyavj08 Sure. here is a guide from the Banzaicloud team. (see: 
[banzaicloud/kafka-operator#565](https://github.com/banzaicloud/kafka-operator/issues/565))
   
   By replacing the docker image to 
[dongjinleekr/kafka:2.13-2.7.0-log4j2-0](https://hub.docker.com/r/dongjinleekr/kafka),
 you can make use of this feature. (Don't forget to specify `KAFKA_LOG4J_OPTS` 
to 
`"-Dlog4j.configurationFile=file:{kafka.home}/bin/../config/log4j2.properties"`)
   
   ```yaml
   spec:
     headlessServiceEnabled: true
     zkAddresses:
       - "zookeeper-client.zookeeper:2181"
     propagateLabels: false
     oneBrokerPerNode: false
     clusterImage: "dongjinleekr/kafka:2.13-2.7.0-log4j2-0"
   ```


----------------------------------------------------------------
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.

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


Reply via email to