[
https://issues.apache.org/jira/browse/FLINK-27206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated 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.
If the reporter is loaded from the plugins directory, setting
metrics.reporter.reporter_name.class no longer works.
was:Configuring reporters by their class has been deprecated. Reporter
implementations should provide a MetricReporterFactory, and all configurations
should be migrated to such a factory.
> 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.10#820010)