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

Materials for the 2016 ApacheCon Big Data NiFi Workshop, "Mission to NARs"

Notifications You must be signed in to change notification settings

apiri/nifi-mission-to-nars-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Apache NiFi logo

Mission to NARs Apache NiFi Workshop

Thursday, 12 May, 2016

These instructions are available at the GitHub Repository.

Note: Feel free to open an issue on the GitHub repository with any questions or points that may be unclear!


Slides

The accompanying slides from the workshop can be found at: http://www.slideshare.net/aldrinpiri/apachecon-2016-mission-to-nars-with-apache-nifi

What should I do before arriving?

Due to possible network congestion, the following items will help us ensure we can maximize our time during the workshop.

1. Acquire a copy of Apache NiFi (.tar.gz or .zip) - 0.6.1

2. Establish 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 (Version 7+ required)

    • 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

      Available for download via: http://www.oracle.com/technetwork/java/javase/overview/index.html

      Linux: OpenJDK versions 7+ are also supported and available

  • 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

      Available via http://maven.apache.org/download.cgi

      Also available via homebrew for OS X and various Linux package management systems

  • Git

    • Do I need it?

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

    • Install

3. Check out the sample repository and cache Maven artifacts

  • Check out the sample repository git clone https://github.com/apiri/nifi-mission-to-nars-workshop.git
  • Change directory to the checked out source cd nifi-mission-to-nars-workshop/nars-workshop
  • Perform a Maven build to cache all Maven artifacts mvn clean install

Day of the Workshop

The following are some references we will make use of throughout the course of the presentation.

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=0.6.1   
	-DnifiVersion=0.6.1

Create using

mvn archetype:generate
	-DarchetypeGroupId=org.apache.nifi  
	-DarchetypeArtifactId=nifi-service-bundle-archetype  
	-DarchetypeVersion=0.6.1   
	-DnifiVersion=0.6.1

About

Materials for the 2016 ApacheCon Big Data NiFi Workshop, "Mission to NARs"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages