Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30183

We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

    XMLWordPrintableJSON

Details

    Description

      A user reported an issue 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.

      We might want to log a warning if the reflection-based approach still works but wrap the NoSuchMethodException into a IllegalConfigurationException with a proper error message pointing to the factory-based approach

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: