title: NiFi how to clear all queues
body: <p>I'm currently using NiFi 1.5.0 (but it's the same with the previous versions) and I wonder if there is a way to clear all queues in the same time ?</p>
  
  <p>When the number of processors increase, it can be really long to reset everything.</p>
  
  <p>(I already know how to clear a single queue :
  <a href="https://stackoverflow.com/questions/39785390/how-to-clear-nifi-queues">How to clear NiFi queues?</a> ) </p>
  
  <p>I'm looking for a solution using either the UI or the API</p>
  
  <p>Thanks in advance !</p>