Hi Sergio,
great that you added this feature. I'd like to change the new API from
void setWriter(ExecutorService writer)
to
void setWriter(Executor writer)
for the following reasons:
- DataFileAppender anyway uses the Executor interface of the writer
(managed or not)
- the ExecutorService interface is only used internally for managed
writers (writer.shutdown())
- this change allows usage of Akka dispatchers (which implement
Executor) as writers (would be a big benefit for my app)
Similar arguments apply to setDisposer as well.
WDYT?
Cheers,
Martin