Flume 命令行

用法: bin/flume-ng <command> [options]...

commands:
help 显示帮助
agent 运行Flume代理
avro-client 运行一个avro Flume客户端
version 显示Flume版本

global options:
--conf,-c <conf> 使用配置文件
--classpath,-C <cp> 附加classpath路径
--dryrun,-d do not actually start Flume, just print the command
--plugins-path <dirs> 冒号分割的插件文件夹列表. See the
plugins.d section in the user guide for more details.
Default: $FLUME_HOME/plugins.d
-Dproperty=value sets a Java system property value
-Xproperty=value sets a Java -X option

agent options:
--name,-n <name> agent名称
--conf-file,-f <file> 指定配置文件 (required if -z missing)
--zkConnString,-z <str> 指定 ZooKeeper 连接 (required if -f missing)
--zkBasePath,-p <path> 指定 ZooKeeper中的 agent配置文件路径
--no-reload-conf 如果配置更改了不重新加载
--help,-h display help text

avro-client options:
--rpcProps,-P <file> RPC client properties file with server connection params
--host,-H <host> hostname to which events will be sent
--port,-p <port> port of the avro source
--dirname <dir> directory to stream to avro source
--filename,-F <file> text file to stream to avro source (default: std input)
--headerFile,-R <file> File containing event headers as key/value pairs on each new line
--help,-h display help text

Either --rpcProps or both --host and --port must be specified.

Note that if <conf> directory is specified, then it is always included first
in the classpath.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,993评论 19 139
  • 博客原文 翻译作品,水平有限,如有错误,烦请留言指正。原文请见 官网英文文档 引言 概述 Apache Flume...
    rabbitGYK阅读 11,538评论 13 34
  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,936评论 0 0
  • 最近天气渐凉,莫名其妙地成为首批感冒患者。九个小时的睡眠时间似乎也无法让精神脱离颓靡的边界。估摸着,推文怕是也要消...
    helloseptember阅读 802评论 0 1
  • 天外云羽断青虹,忽一声山中霸王吼,林郁葱葱齐低头,万里平原尘屑起,飞过黄沙层层蔓,震耳欲聋碎石声。弹指达东海,穿透...
    樱荼阅读 517评论 4 6