分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 网页技术

flume handler

发布时间:2023-09-06 01:07责任编辑:沈小雨关键词:暂无标签
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

这样就行了


来自为知笔记(Wiz)


flume handler

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

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved