flume整合kafka
来源:互联网 发布:荷尔拜因知乎 编辑:程序博客网 时间:2024/05/17 18:41
# Please paste flume.conf here. Example:# Sources, channels, and sinks are defined per# agent name, in this case 'tier1'.tier1.sources = source1tier1.channels = channel1tier1.sinks = sink1# For each source, channel, and sink, set# standard properties.tier1.sources.source1.type = syslogtcptier1.sources.source1.bind = 127.0.0.1tier1.sources.source1.port = 9999tier1.sources.source1.channels = channel1tier1.channels.channel1.type = memorytier1.sinks.sink1.channel = channel1tier1.sinks.sink1.type = org.apache.flume.sink.kafka.KafkaSinktier1.sinks.sink1.topic = ggztier1.sinks.sink1.brokerList = ha1:9092tier1.sinks.sink1.requiredAcks = 1tier1.sinks.sink1.batchSize = 20# Other properties are specific to each type of# source, channel, or sink. In this case, we# specify the capacity of the memory channel.tier1.channels.channel1.capacity = 100
测试:
生产者:nc ha1 9999
消费者:kafka-console-consumer –zookeeper ha0 –topic ggz –from-beginning
0 0
- Flume+kafka+storm整合
- Flume与Kafka整合
- Kafka flume 整合
- Kafka flume 整合
- Flume+Kafka+SparkStreaming整合
- flume+kafka+storm整合
- 103-flume整合kafka
- Flume+Kafka整合
- flume整合kafka
- Flume与Kafka整合
- Kafka整合Flume
- kafka和flume整合
- Flume整合kafka
- Flume+Kafka+SparkStreaming整合
- Flume和Kafka整合
- flume+kafka+storm整合
- Flume与Kafka整合
- flume与kafka整合
- 浅析string 与char* char[]之间的转换
- 用Peterson算法实现临界区的控制
- win7生成生成Detours.lib以及简单使用实例
- TypedArray使用方法
- 使用TabLayout代替ViewPagerIndicator
- flume整合kafka
- typedef struct 和struct
- 利用Tomcat建立多个Web Server的方法
- 【Cocos2d-x 001】VS2012打开Cocos解决方案显示加载失败
- 在MFC单文档窗口中添加背景图片
- XCode 配置 sdl2
- C语言——关键字
- VNC Viewer连接后闪退
- IRQL