You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/05/15 06:35:00 UTC
[jira] [Closed] (FLINK-11922) Support MetricReporter factories
[ https://issues.apache.org/jira/browse/FLINK-11922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-11922.
------------------------------------
Resolution: Fixed
master: e63e4b9667e50c267555b64efa7c77db2d577f5b
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)