首页 > Web开发 > 详细

flume handler

时间:2017-08-31 00:55:09      阅读:374      评论:0      收藏:0      [点我收藏+]
1.classpath
classpath中需要这两项:Flume Agent configuration file and the second are the Flume client jars (flume 代理配置和flume 客户端jar).OGG flume handler使用前者解析主机、端口、连接类型等 。
实际上,只需要加入dirprm这个目录和flume_home/lib下即可以

2.设置flume代理
    可以根据oracle提供的示例来配置:
  1. [root@BFHT5 ogg]# more dirprm/custom-flume-rpc.properties
  2. client.type = default
  3. hosts = bfht5
  4. hosts.bfht5 = 10.80.2.108:1111
  5. batch-size = 100
  6. connect-timeout = 20000
  7. request-timeout = 20000

这样就行了




flume handler

原文:http://www.cnblogs.com/skyrim/p/7456189.html

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