[ https://issues.apache.org/jira/browse/FLUME-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018666#comment-16018666 ]
Lisheng Xia commented on FLUME-3095: ------------------------------------ [~hshreedharan] How to assign this task to myself > Add units for time and capacity-related configurations > ------------------------------------------------------ > > Key: FLUME-3095 > URL: https://issues.apache.org/jira/browse/FLUME-3095 > Project: Flume > Issue Type: New Feature > Components: Configuration > Affects Versions: 2.0.0 > Reporter: Lisheng Xia > > 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). -- This message was sent by Atlassian JIRA (v6.3.15#6346)