Resolution: Won't Fix
Affects Version/s: 2.0-beta6
Fix Version/s: None
FlumeAppender(log4j-flume-ng) depends on flume-ng-sdk, which uses netty-3.4.0.Final. When a higher version of netty is used instead, such as 3.5.8.Final or 3.6.5.Final, FlumeAppender will not shutdown properly.
To reproduce the problem (use attached Maven project):
1. Start your remote flume agent
2. Change the log4j2.xml to your agent host and port
3. press x and hit Enter
Notice how the application continues to run. Press x should break out of the main loop and return from main(), indicating that the application should close.
The thread holding things up are
Hashed wheel timer #1
New I/O worker #1-8