Chesnay Schepler created FLINK-27206:
----------------------------------------
Summary: 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
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.1#820001)