Skip to content

Latest commit

 

History

History
72 lines (59 loc) · 3.94 KB

README.asciidoc

File metadata and controls

72 lines (59 loc) · 3.94 KB

nf2t-cli

Description

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

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