Ingo Bürk created FLINK-22510: --------------------------------- Summary: ConfigurationUtils always serializes Duration to nanoseconds Key: FLINK-22510 URL: https://issues.apache.org/jira/browse/FLINK-22510 Project: Flink Issue Type: Improvement Affects Versions: 1.12.2, 1.13.0 Reporter: Ingo Bürk
ConfigurationUtils#convertToString is hard-coded to serialize instances of Duration into nanoseconds. This often produces output which isn't really human-understandable. It would be good to be a bit smarter here in how this is serialized to make it more natural to humans. A possible solution could be choosing the lowest unit with which the value can be expressed as an integer, e.g. "1 min", "35 s", "3256 ms", … -- This message was sent by Atlassian Jira (v8.3.4#803005)