- Flume-NG >= 1.7
- Linux
- MacOS
$ mvn clean packageflume-append-file-sink-1.0.jar
| Property Name | Default | Description |
|---|---|---|
| sink.fileName | - | file name |
| sink.appendToolDir | - | the path which the append tool will be saved to |
| sink.batchSize | 100 | how many messages to process in one batch |
a1.sinks.k1.type = cn.ikaze.flume.sink.AppendFile
a1.sinks.k1.sink.fileName = /var/log/access.log
a1.sinks.k1.sink.appendToolDir = /home/gojuukaze/.append_file_tool- Your characters are not displayed properly:
Try changing the system locale,
ex:centos 7: $ echo 'LANG="zh_CN.UTF-8"' >>/etc/locale.conf