Details
Description
When the server mentioned in bootstrap.servers property in kafka appender are not available.
For e.g. Unable to resolve DNS etc.
The application isn't starting and the java process terminates after trying to connect to the server.
Failure to initialize the appender should not block the application process and other appenders, just like file appender, for e.g. when file path is not resolvable, it moves forward.
Attached log4j2.xml.
Tried wrapping it in async appender as well, does not provide expected result as the issue is with initialization of appender.
Attachments
Attachments
Issue Links
- is related to
-
LOG4J2-1043 Run initialization of AsyncAppender delegates asynchronously
- Open