Base on: https://github.com/arberzal/flume-ng-elasticsearch2-sink Base on: https://github.com/Redliver/flume-ng-elasticsearch5-sink
flume1.7对接elasticsearch5.5 使用说明: 由于elasticsearch5.5需要在jdk1.8环境中执行,flume中使用到elasticsearch5.5的jar,所以flume1.7页必须在jdk1.8的环境中