GitHub user iaiengxia opened a pull request:
https://github.com/apache/flume/pull/134
add captity unit
FLUME-3095
In the configuration file, the capacity and time-related configuration can
not set the unit, only the default unit, the default unit of capacity is byte,
the default unit of time is milliseconds, so need to convert (for example, 2g
converted to 2147483648), so not It is easy to configure the attribute is not
easy to read again, so prepare the capacity type configuration new unit: g / m
/ k / b (no unit defaults to byte), the time type configuration new unit: h / m
/ s / ms ( No unit defaults to ms).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iaiengxia/flume unit
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flume/pull/134.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #134
----
commit 6d74a83d94a626f3f003dc095c08ca710591f3da
Author: xls <[email protected]>
Date: 2017-05-22T12:21:07Z
add captity unit
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---