首页 > 其他 > 详细

kafka source type

时间:2017-10-26 19:37:14      阅读:259      评论:0      收藏:0      [点我收藏+]

 

https://flume.apache.org/FlumeUserGuide.html

 

# example.conf: A single-node Flume configuration

# Name the components on this agent
a1.sources = r1
a1.sinks = k1
a1.channels = c1
 

 

【测试模拟】

a1.sources.r1.type = exec

a1.sources.r1.command = tail -F /opt/data/access.log

 

【生产】


# Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r1.port = 44444


 

kafka source type

原文:http://www.cnblogs.com/yuanjiangw/p/7738321.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!