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
http http: https://docs.python.org/3/library/http.html http是一个包,里面含有多个模块:http.client,http.server,http.cookies,http.cookiejar. http.client 对应python2.X 的 httplib 模块. 官方文档对 http.client的说明如下: This module defines classes which implement the client side of