You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/11/24 05:02:00 UTC

[jira] [Created] (FLINK-30183) We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

Matthias Pohl created FLINK-30183:
-------------------------------------

             Summary: We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered
                 Key: FLINK-30183
                 URL: https://issues.apache.org/jira/browse/FLINK-30183
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics
    Affects Versions: 1.16.0, 1.17.0
            Reporter: Matthias Pohl


A [user reported an issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is caused by the {{PromethusReporter}} not having a default constructor implemented. Instead, the user should switch to the factory class approach.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)