0

Looking through the nifi API docs : https://nifi.apache.org/docs/nifi-docs/rest-api/index.html it seems there is drop-request endpoint that gives you the possiibility to drop the entire queue. What if I want to drop a single flowfile? Is there a way?

Thanks in advance

salvob
  • 1,300
  • 3
  • 21
  • 41
  • everything that is possible to do through UI - possible to replicate through api. – daggett May 26 '21 at 15:14
  • 1
    @daggett So... since it's not possible to delete a single element from the queue, I guess I can't ... :) – salvob May 26 '21 at 15:50

1 Answers1

1

You can't drop a specific flowfile in a queue, however you can put that queue through some processor to separate that flowfile into a different queue and drop it there. Remember that queues can be moved to other processors if they are all stopped.

Chaffelson
  • 1,249
  • 9
  • 20