Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Super 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
1,064 Views
0 Kudos
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
2 of 2
Last update:
‎08-17-2019 02:18 PM
Updated by:
 
Contributors
Top Kudoed Authors