[ 
https://issues.apache.org/jira/browse/KAFKA-7134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558028#comment-16558028
 ] 

Andras Katona commented on KAFKA-7134:
--------------------------------------

I just realized, there are two KafkaLog4jAppender classes:
 # org.apache.kafka.log4jappender.KafkaLog4jAppender - this is in kafka 
repository
 # org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender - in log4j 
repository

The documentation is about #2. And in my opinion that one should be used 
instead of #1. The appender in log4j repository is far more sophisticated.

[~venkatpotru], which appender is this issue about?

> KafkaLog4jAppender - Appender exceptions are propagated to caller
> -----------------------------------------------------------------
>
>                 Key: KAFKA-7134
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7134
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>            Reporter: venkata praveen
>            Assignee: Andras Katona
>            Priority: Major
>
> KafkaLog4jAppender exceptions are propagated to caller when Kafka is 
> down/slow/other, it may cause the application crash. Ideally appender should 
> print and ignore the exception
>  or should provide option to ignore/throw the exceptions like 
> 'ignoreExceptions' property of 
> https://logging.apache.org/log4j/2.x/manual/appenders.html#KafkaAppender



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to