Spark-Streaming 使用flume的push方式进行流式处理
import org.apache.spark.SparkConfnimport org.apache.spark.streaming.flume.FlumeUtilsnimport org.apache.spark.streaming.Seconds, StreamingContextnn/**n * Created by ZX on 2015/6/22.n */nobject Flum
import org.apache.spark.SparkConfnimport org.apache.spark.streaming.flume.FlumeUtilsnimport org.apache.spark.streaming.Seconds, StreamingContextnn/**n * Created by ZX on 2015/6/22.n */nobject Flum