dongjinleekr opened a new pull request #10244:
URL: https://github.com/apache/kafka/pull/10244


   This PR implements `log4j2-appender`, a log4j2 equivalent of traditional 
`log4j-appender`.
   
   All `log4j-appender` configuration properties are supported, with some 
additions:
   
   1. `brokerList` is deprecated for the consistency of the other CLI tools. 
`bootstrapServers` is added instead.
   2. `requiredNumAcks` is deprecated for the consistency of `Producer`'s 
`Properties` instance. `acks` is added instead.
   3. A new configuration option, `producerClass`, is added. Any `Producer` 
implementation with the `Properties` argument is supported. The unit test 
itself uses this feature with `MockProducer`.
   4. In `log4j-appender`, the default values of `retries`, `requiredNumAcks`, 
`deliveryTimeoutMs`, `lingerMs`, and `batchSize` are redundantly defined in 
`Log4jAppender` implementation. Since their default values are already defined 
in `ProducerConfig`, `log4j2-appender` does not define their default values.


----------------------------------------------------------------
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:
[email protected]


Reply via email to