flume 当sourcetype=http的时候可以用 curl -X POST -d '[{"headers" :{"APPSTORE" : "qq"},"body" :"CZ"}]' http://mini1:50000
当sourcetype=avro的时候,第一种来源是上一个flume,第二种来源是 在代码中调用 flume的API
/**
* <p>Send a single {@link Event} to the associated Flume source.</p>
*
* <p>This method blocks until the RPC returns or until the request time
*/
public void append(Event event) throws EventDeliveryException;