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

Support MetricReporter factories

    XMLWordPrintableJSON

    Details

      Description

      Currently we only support instantiating MetricReporters via reflection, forcing us (and implementees) to deal with numerous downsides such as non-final fields (resources can only be acquired in open()), frustrating test setup (options must always be encoded in a  Configuration, and requiring non-arg constructors.

      Factories are a more appropriate way of dealing with this, and as such we should add support for it. Existing reporters can be ported to this mechanism without affecting users.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chesnay Chesnay Schepler
                Reporter:
                chesnay Chesnay Schepler
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m