dongjinleekr commented on a change in pull request #10244:
URL: https://github.com/apache/kafka/pull/10244#discussion_r830463813



##########
File path: 
log4j-appender/src/main/java/org/apache/kafka/log4jappender/KafkaLog4jAppender.java
##########
@@ -333,6 +333,7 @@ public void activateOptions() {
         props.put(KEY_SERIALIZER_CLASS_CONFIG, 
ByteArraySerializer.class.getName());
         props.put(VALUE_SERIALIZER_CLASS_CONFIG, 
ByteArraySerializer.class.getName());
         this.producer = getKafkaProducer(props);
+        LogLog.warn("log4j-appender is deprecated and will be removed in a 
future release. For migration, please refer to the latest documentation.");

Review comment:
       Well, although this class will not be instantiated directly, it would be 
much better.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to