You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/07/11 12:39:00 UTC
[jira] [Resolved] (FLINK-13198) Introduce TimeUtils with parsing
method
[ https://issues.apache.org/jira/browse/FLINK-13198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jark Wu resolved FLINK-13198.
-----------------------------
Resolution: Fixed
Assignee: Caizhi Weng
Fix Version/s: 1.9.0
Fixed in 1.9.0 with 2 commits:
768e81f8c72837e41d6dd930308f188b2b827413
1426b218678224344844e1f1bdd7f1b1c66e0a32
> Introduce TimeUtils with parsing method
> ---------------------------------------
>
> Key: FLINK-13198
> URL: https://issues.apache.org/jira/browse/FLINK-13198
> Project: Flink
> Issue Type: Improvement
> Reporter: Caizhi Weng
> Assignee: Caizhi Weng
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We need a parse function to parse strings like "123ms", "321s", "12min" and such, so that users can write configurations like "cache.ttl = 1min" and the user input can be changed into a Java {{Duration}}.
> This pull request introduce {{TimeUtils}} with {{parseDuration}} method to meet the above needs.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)