Vincenzo Castro created NIFI-6638:
-------------------------------------
Summary: Empty multiple queues at once at different flow levels
Key: NIFI-6638
URL: https://issues.apache.org/jira/browse/NIFI-6638
Project: Apache NiFi
Issue Type: Improvement
Components: Core UI
Affects Versions: 1.9.2
Reporter: Vincenzo Castro
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 needs 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.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)