You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AsyncDisruptorAppender creates Disruptor instances using the constructor that takes an Executor as argument.
This constructor has been deprecated in 2015 in favour of a ThreadFactory. The deprecation comments says:
Use a {@link ThreadFactory} instead of an {@link Executor} as a ThreadFactory is able to report errors when it is unable to construct a thread to run a producer.
* Create Disruptor with a ThreadFactory instead of ExecutorService
* Remove ExecutorService from AsyncDisruptorAppender and move it inside the AbstractLogstashTcpSocketAppender
AsyncDisruptorAppender does use the ExecutorService anymore - move it inside classes that need it
See #567
The
AsyncDisruptorAppender
creates Disruptor instances using the constructor that takes anExecutor
as argument.This constructor has been deprecated in 2015 in favour of a
ThreadFactory
. The deprecation comments says:The deprecation has been introduced by commit LMAX-Exchange/disruptor@4273056 and is in effect since version
3.3.4
.The
AsyncDisruptorAppender
already maintains aThreadFactory
. I don't see any problem in passing it to the Disruptor instead of the executor service.The text was updated successfully, but these errors were encountered: