Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar
Master Guru

Building an Apache NiFi processor is super easy. I have seen/read several articles on how to get started by executing maven commands via CLI. This article is geared towards individuals who like to use an IDE (specially IntelliJ) to do the imports instead of running via CLI.


On IntelliJ click on create project, Check "Create from archetype", click on "ADD Archetype" and enter the following

GroupId: org.apache.nifi

ArtifactId: nifi-processor-bundle-archetype

Version: <YourVersionOfNifi>

and then click "OK"

109504-2019-06-21-14-35-27.jpg


Now your new NiFi Archetype has been created. Select it


109475-2019-06-21-14-43-22.jpg


Enter GroupId, ArtifactId, and Version of your choice109499-2019-06-21-14-54-12.jpg


A final attribute we need to add is artifactBaseName. This is mandatory. Click on "+" and enter

Name: artifactBaseName

Value: whatEverYouLike

109488-2019-06-21-14-54-36.jpg


Now a project ready to build a custom processor.

109500-2019-06-21-14-54-57.jpg


Enjoy!


2019-06-21-14-54-36.jpg
4,534 Views