Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/2947
@ijokarumawak The scenario that you laid out to drop flowfiles should work
just fine. I have tested it several times and just tested again. All FlowFiles
were successfully dropped for me. Can you verify that the destination of your
connection was stopped and did not have any of the FlowFiles in its possession?
You might also want to try enabling DEBUG logging for
org.apache.nifi.controller.queue.SwappablePriorityQueue - it does log quite a
few debug statements when performing a drop request.
---