码迷,mamicode.com
首页 > Web开发 > 详细

flume handler

时间:2017-08-31 01:00:31      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:size   evel   bat   oracle   div   roo   href   client   lib   

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

标签:size   evel   bat   oracle   div   roo   href   client   lib   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!