Apurba Pandey
Apurba Pandey

Reputation: 1076

Apache Nifi - create a new pipeline using API

Can we create a new pipeline using Apache Nifi API without using the GUI? If yes, then please let me know the steps for the same.

Upvotes: 2

Views: 819

Answers (2)

Óscar Andreu
Óscar Andreu

Reputation: 1700

The response to your question is yes, you can use:

  • NiFi API.
  • NiFi CLI from version 1.6.
  • NiPyApi python client thanks to @chaffelson

You can find the documentation here: https://github.com/apache/nifi/tree/master/nifi-toolkit/nifi-toolkit-cli https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

You can also search in the Hortonworks page, there is a lot of contain that can be helpful.

Upvotes: 4

Chaffelson
Chaffelson

Reputation: 1269

If you are familiar with Python, there is also a community Python client for NiFi. https://github.com/Chaffelson/nipyapi

And a quick introduction here: https://community.hortonworks.com/articles/167364/nifi-sdlc-automation-in-python-with-nipyapi-part-1.html

note: I am the primary author.

Upvotes: 4

Related Questions