public static String getStringInMillis(final Duration duration) {
      return duration.toMillis() + TimeUnit.MILLISECONDS.labels.get(0);
    }
@param duration to convert to string
@return duration string in millis
amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java