Closed thekalinga closed 2 years ago
I believe graal vm has an unresolved issue wrt RandomAccessFile
. Altho, that should affect only file appenders, I believe it should not affect disruptor.
I dropped a comment on this issue to ask current status since it is not clear.
Lmax disruptor support should be contributed to https://github.com/oracle/graalvm-reachability-metadata in order to be available via Native Build Tools 0.9.13+ (usable with Spring Native) and upcoming native support in Spring Boot 3.
In reactive world, when dealing with log4j2, lmax disruptor library is recommended to ensure the logging doesnt affect event loop threads.
Async logging is typically have
log4j2.xml
of this format (for file appending).with following dependency
It would be nice if the spring native automatically adds appropriate graal hints so that user's experience can be smooth when using disruptor.