You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2022/04/28 01:49:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-24235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529146#comment-17529146 ] 

Xintong Song commented on FLINK-24235:
--------------------------------------

Is the fix version set to 1.17.0 by intention? Just surprisingly found there's already a 1.17.0 version with this being the only issue.

> 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.7#820007)