文件末尾内容追加工具 flume-append-file-sink

码农软件 · 软件分类 · 日志工具(Logging) · 2019-09-19 19:12:15

软件介绍

flume追加内容到文件末尾的sink。

仅适合1g以内的日志,再大估计会有压力,没具体测试。

依赖

  • Flume-NG >= 1.7

  • Linux

  • MacOS

构建

$ mvn clean package

jar文件下载

flume-append-file-sink-1.0.jar

配置参数

Property NameDefaultDescription
sink.fileName-文件名
sink.appendToolDir-用来存储此sink所需要的工具的目录,不能删除
sink.batchSize100一次提交多少消息

配置示例

a1.sinks.k1.type = cn.ikaze.flume.sink.AppendFile
a1.sinks.k1.sink.fileName = /var/log/m.log
a1.sinks.k1.sink.appendToolDir = /home/gojuukaze/.append_file_tool

本文地址:https://codercto.com/soft/d/14961.html

Computational Geometry

Computational Geometry

Mark de Berg、Otfried Cheong、Marc van Kreveld、Mark Overmars / Springer / 2008-4-16 / USD 49.95

This well-accepted introduction to computational geometry is a textbook for high-level undergraduate and low-level graduate courses. The focus is on algorithms and hence the book is well suited for st......一起来看看 《Computational Geometry》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具