azagrebin commented on a change in pull request #12659:
URL: https://github.com/apache/flink/pull/12659#discussion_r440371249
##########
File path:
flink-core/src/main/java/org/apache/flink/configuration/MetricOptions.java
##########
@@ -58,9 +61,10 @@
.noDefaultValue()
.withDescription("The reporter class to use for the
reporter named <name>.");
- public static final ConfigOption<String> REPORTER_INTERVAL =
+ public static final ConfigOption<Duration> REPORTER_INTERVAL =
Review comment:
it will be actually backwards compatible as we use
`TimeUtils#parseDuration` for parsing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]