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

Empty multiple queues at once at different flow levels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.2
    • 1.12.0
    • Core UI
    • None

    Description

      This issue summarize what has been previously reported by NIFI-3632, NIFI-5329 and NIFI-4308.

      Motivation
      During development and flow testing it's often useful to empty all queues or a set of queues inside a single process group or process group hierarchy. Right now the process of emptying queues is tedious, each queue neeItalicds to be emptied individually by means of the "Empty queue" button in the context menu, since there is no option to empty multiple queues at once.

      Proposed Solution
      Replace the current "Empty queue" button in the context menu with an "Empty queues" sub-menu providing different options to empty multiple queues at different levels of the flow depending on the selected components.

      In particular, it would be useful to have such buttons for the "Empty queues" sub-menu:

      • selected queue: empty the selected queue
      • selected queues: empty the selected queues
      • current process group: empty all queues inside the current process group
      • current process group (recursive): empty all queues inside the current process group recursively, which means all queues inside the current process group, and its sub process groups, and their sub process groups [and so on] will be emptied
      • selected process group: empty all queues inside the selected process group
      • selected process group (recursive): empty all queues inside the selected process group recursively
      • selected process groups: empty all queues inside the selected process groups
      • selected process groups (recursive): empty all queues inside the selected process groups recursively

      Errors management: if the emptying process fails to empty one or more queues, it should keep going till all the selected queues are processed. After that, the final summary dialog should eventually provide information about the errors faced in emptying one or more queues.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Vincenzo Castro Vincenzo Castro
              Votes:
              2 Vote for this issue
              Watchers:
              3 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 - 7h 20m
                  7h 20m