flume_kafka联合使用
来源:互联网 发布:ubuntu启动mysql服务 编辑:程序博客网 时间:2024/05/21 07:57
在大数据的使用中常常将flume和kafka联合起来使用,实用的时候主要是一个配置的文件信息
配置文件信息如下
#agent sectionproducer.sources = sproducer.channels = cproducer.sinks = r#source section#producer.sources.s.type = seqproducer.sources.s.type = execproducer.sources.s.command =tail -F /tmp/test/a.txt producer.sources.s.channels = c# Each sink's type must be definedproducer.sinks.r.type = org.apache.flume.sink.kafka.KafkaSinkproducer.sinks.r.kafka.bootstrap.servers = localhost:9092producer.sinks.r.kafka.topic=testproducer.sinks.r.kafka.flumeBatchSize = 20producer.sinks.r.kafka.producer.acks = 1#Specify the channel the sink should useproducer.sinks.r.channel = c# Each channel's type is defined.producer.channels.c.type = memoryproducer.channels.c.capacity = 1000
0 0
- flume_kafka联合使用
- 联合的使用
- Modelsim+Debussy联合使用
- 联合主键的使用
- 使用联合类型
- Mysql联合索引使用
- TabLayout联合Fragment使用
- 联合索引使用规则
- dwz selectAnddialogs联合使用
- 联合索引使用规则
- 联合的定义与使用
- 联合使用多个代理
- 使用合适的联合索引
- unpivot,pivot联合使用示例
- IncrediBuild联合编译的使用
- IncrediBuild联合编译的使用
- Intents和ListActivity联合使用
- insert 和select联合使用
- Android自动化测试(AndroidUnitTest)
- C/C++编程小练习 计算10亿之内的素数和(合数筛选算法实现)
- APACHE配置
- 测试小故事21:语言的力量
- Linux文件系统底层实现
- flume_kafka联合使用
- LeetCode -- Ransom Note
- Linux下的C语言编程——进程间通过signal函数通信简单操作
- java中类方法与对象方法区别
- Dynamic ODT
- 竖式问题--c
- LeetCode -- Divide Two Integers
- javaScript创建对象
- matlab PCA-SVD简单地实现特征脸方法(Eigenface)