Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- causes
-
FLINK-30183 We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered
- Resolved
- relates to
-
FLINK-24235 Only support reporter factories for instantiation
- Closed
-
FLINK-24236 Migrate tests to reporter factories
- Closed
- links to