Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22510

ConfigurationUtils always serializes Duration to nanoseconds

    XMLWordPrintableJSON

Details

    Description

      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", …

      Attachments

        Issue Links

          Activity

            People

              airblader Ingo Bürk
              airblader Ingo Bürk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: