Chesnay Schepler created FLINK-11922:
----------------------------------------
Summary: Support MetricReporter factories
Key: FLINK-11922
URL:
https://issues.apache.org/jira/browse/FLINK-11922 Project: Flink
Issue Type: New Feature
Components: Runtime / Metrics
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.9.0
Currently we only support instantiating {{MetricReporters}} via reflection, forcing us (and implementees) to deal with numerous downsides such as non-final fields (resources can only be acquired in open()), frustrating test setup (options must always be encoded in a {{Configuration}}, and requiring non-arg constructors.
Factories are a more appropriate way of dealing with this, and as such we should add support for it. Existing reporters can be ported to this mechanism without affecting users.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)