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 2022/04/20 20:43:00 UTC

[jira] [Closed] (FLINK-27206) Deprecate reflection-based reporter instantiation

     [ https://issues.apache.org/jira/browse/FLINK-27206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-27206.
------------------------------------
    Release Note: Configuring reporters by their class has been deprecated. Reporter implementations should provide a MetricReporterFactory, and all configurations should be migrated to such a factory.
      Resolution: Fixed

master:
e77cd23dff79c7ff93aa0d4a187b8bcd1f617341
77ae6dd63c92fcf897184a929118d57e25800e6a

> Deprecate reflection-based reporter instantiation
> -------------------------------------------------
>
>                 Key: FLINK-27206
>                 URL: https://issues.apache.org/jira/browse/FLINK-27206
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Metrics
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.16.0
>
>
> Metric reporters can currently be instantiated in one of 2 ways:
> a) the reporter class is loaded via reflection
> b) the reporter factory is loaded via reflection/ServiceLoader (aka, plugins)
> All reporters provided by Flink use the factory approach, and it is preferable because it supports plugins. The plugin approach also has been available 1.11, and I think it's fair to deprecate the old approach by now.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)