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

venkata praveen commented on KAFKA-7134:
----------------------------------------

[~asasvari] and [~akatona] - Got the point and its valid. And thanks for 
mentioning it. \

By the way how the appender behaves when kafka is down while its being 
initialized?  And what happens if the application ignores the appender 
initialization exception and continues with application startup? there could be 
a chance of NullPointer on producer?

> 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