[ 
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)

Reply via email to