Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8629

Add periodic logging to Stateless that provides component statuses

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: NiFi Stateless
    • Labels:
      None

      Description

      NiFi provides a lot of details about how each component is operating in the UI. However, with stateless, that is not available. NiFi also provides a ControllerStatusReportingTask that logs most of the information. However, that's part of the standard nar currently, which is almost 80 MB, and is not included by default. We should add something similar to the ControllerStatusReportingTask to stateless but have it always run (as long as the log level is sufficiently high) rather than requiring the extra steps of configuring the Reporting Task. The output will likely be similar but not identical to ControllerStatusReportingTask, as we will want to make sure that the output is tailored well to Stateless.

      Additionally, the ControllerStatusReportingTask is fairly expensive to run because, as an extension, it cannot have access to the framework-level objects such as Counters, Processors, etc. and as a result must build an expensive ProcessGroupStatus data model to operate on. By implementing this in the stateless framework, it can be done more efficiently.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markap14 Mark Payne
                Reporter:
                markap14 Mark Payne
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2h 10m
                  2h 10m