文件末尾内容追加工具 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

An Introduction to Genetic Algorithms

An Introduction to Genetic Algorithms

Melanie Mitchell / MIT Press / 1998-2-6 / USD 45.00

Genetic algorithms have been used in science and engineering as adaptive algorithms for solving practical problems and as computational models of natural evolutionary systems. This brief, accessible i......一起来看看 《An Introduction to Genetic Algorithms》 这本书的介绍吧!

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

RGB HEX 互转工具

MD5 加密
MD5 加密

MD5 加密工具

SHA 加密
SHA 加密

SHA 加密工具