flume接收http请求,并将数据写到kafka,spark消费kafka的数据.是数据采集的经典框架. 直接上flume的配置: source : http channel : file sink : kafka xx :~/software/flume1.8/conf$ cat http-file-kafka.conf # example.conf: A single-node Flume configuration ########## # data example # use post