Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Provides a base project to create an Apache NiFi processor bundle as generated by the Apache NiFi Maven archetype.

License

Notifications You must be signed in to change notification settings

apiri/nifi-sample-processor-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache NiFi logo

Getting Started with Apache NiFi Development

Development Environment

Creating custom components in NiFi requires only two dependencies, Java JDK and Maven. We will additionally require Git to make use of a sample repository.

Java SDK (requires version 7+)

Do I need it?

  • Execute javac -version. If an error message about the command not being found or the response shows javac 1.X.Y_ZZ has X being less than 7, then JDK version 7 or later must be installed.

Install

Maven (requires version 3.1.0+)

Do I need it?

  • Execute mvn -version. If an error message about the command not being found or the response shows Apache Maven 3.X.Y has X being less than 1, then Maven 3.1.0 or later must be installed.

Install

Git

Do I need it?

  • Execute git --version. If an error message about the command not being found then git must be installed.

Windows

OS X

  • A version is bundled with the Mac by default
  • Newer version is available via the homebrew ecosystem: http://brew.sh/

Linux

  • Aptitude based systems (Debian, Ubuntu): apt-get install git
  • Yum based systems (RHEL, CentOS, Fedora): yum install git
  • Other distributions: https://git-scm.com/download/linux

Developing a Custom Processor Bundle Repository

  • Check out the sample repository git clone https://github.com/apiri/nifi-sample-processor-bundle.git

Developing Custom Extensions from Archetype

We only need the repository checked out above, but in the case someone wishes to start from nothing, it is possible to generate the project structure above leveraging Maven Archetypes.

Create using

mvn archetype:generate
	-DarchetypeGroupId=org.apache.nifi  
	-DarchetypeArtifactId=nifi-processor-bundle-archetype  
	-DarchetypeVersion=<NiFi Version>   
	-DnifiVersion=<NiFi Version>

Create using

mvn archetype:generate
	-DarchetypeGroupId=org.apache.nifi  
	-DarchetypeArtifactId=nifi-service-bundle-archetype  
	-DarchetypeVersion=<NiFi Version>   
	-DnifiVersion=<NiFi Version>

About

Provides a base project to create an Apache NiFi processor bundle as generated by the Apache NiFi Maven archetype.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages