keith-turner commented on issue #4877: URL: https://github.com/apache/accumulo/issues/4877#issuecomment-2346905444
> Client-side backpressure for logging to the monitor appender should be handled by the async logger feature (see -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector in our conf/accumulo-env.sh script and https://logging.apache.org/log4j/2.x/manual/async.html . There are properties for setting the discard threshold. One thing I am uncertain about with the AsyncLoggerContextSelector is that in AccumuloMonitorAppender will [create an async http task](https://github.com/apache/accumulo/blob/233baddbe89850c2d303a25386ee828c0e21b23b/server/monitor/src/main/java/org/apache/accumulo/monitor/util/logging/AccumuloMonitorAppender.java#L124) to send the data and not wait on the future. So maybe from log4js perspective appending is always instant and it just keeps queuing http sends on the client side. -- 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]
