Description

A Java CLI for parsing Apache NiFi FlowFileStreams. One or more FlowFiles can be serialized into a FlowFileStream, in one of three formats.

Artifact Information

Maven GroupId

com.yelloowstone.nf2t

Maven ArtifactId

nf2t-cli

Maven Version

0.0.7

Git Hash

b7fe9f0bc4457f9ee0a7b27eec365244059778cd

Background

While the Apache Foundation has its own Unpackager (nifi-flowfile-packager). It lacks a packager, and dumps all attributes into their own text files which is a little messy for large projects. This CLI dumps all FlowFile Attributes to the STDOUT (Standard Output), and thus can easily be redirected to a file.

I’ve developed several versions of this project over the years, and created a WebGUI based version: https://www.nf2t.net/.

Technologies Used

  • Picocli: Picocli is a one-file framework for creating Java command line applications with almost zero code.

  • Asciidoctor: A fast text processor & publishing toolchain for converting AsciiDoc to HTML5, DocBook & more.

How to Build

  • Run the update.sh script to update the versions of the project.

  • Run the build.sh to build the project and get the maven.zip file to upload to Maven Central Repository.

Example Scripts

  • download_jar.sh: Download the JAR from MAVEN

  • test.sh: After running the build script, will test the executable jar.

TODO