You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Apache NiFi (incubating) processors are typically organized in processor bundles. A processor bundle is generally made up of a Maven project that produces a jar containing the processors, and a Maven project that packages the jars into a NAR for deployment. An example processor bundle from NiFi is the nifi-kafka-bundle, containing the sub-projects nifi-kafka-processors and nifi-kafka-nar.

NiFi provides a Maven archetype for easily creating this project structure. To use the archetype, run the following Maven command:

mvn archetype:generate -DarchetypeGroupId=org.apache.nifi -DarchetypeArtifactId=nifi-processor-bundle-archetype -DarchetypeVersion=0.1.0-incubating

The archetypeVersion corresponds to the version of the nifi-processor-bundle-archetype that is being used, and the currently this version is the same as the top-level NiFi version (i.e. for the NiFi 0.2.0-incubating release, the archetypeVersion would be 0.2.0-incubating, and so on).

  • No labels