0
votes

Using this NiFi API end-point GET "/process-groups/{id}/processors", able to fetch all processors part of the root Process Group. Each Processor has a property called "type". So to fetch all unique Processor Type (Example: ConsumeKafka), I can iterate through all processors and look for its "type" property.

Is there any existing NiFi REST end-point to fetch all unique "Processor Types"? If not, please suggest an easier way to achieve this. Thank you!

1
There is no such endpoint. So, you have to write a script in a language you like. - daggett
@daggett Thanks for the clarification! - Vasanth Subramanian

1 Answers

2
votes

The nifi-api endpoint you probably want is /flow/processor-types. There is a reference implementation in my NiFi Python client NiPyAPI