Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
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
6,838 Views
Version history
Last update:
‎08-17-2019 02:18 PM
Updated by:
Contributors