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/12 13:58:00 UTC

[jira] [Updated] (FLINK-24235) Only support reporter factories for instantiation

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

Chesnay Schepler updated FLINK-24235:
-------------------------------------
    Fix Version/s: 1.17.0
                       (was: 1.15.0)

> Only support reporter factories for instantiation
> -------------------------------------------------
>
>                 Key: FLINK-24235
>                 URL: https://issues.apache.org/jira/browse/FLINK-24235
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Runtime / Metrics
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.17.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 remove the old approach by now.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)