Giter VIP home page Giter VIP logo

probe-flow's Introduction

NiFi ProbeFlow custom NAR

A Maven project for building a custom NiFi Archive (.nar). Designed for interoperability with Apache NiFi version 1.18+. The NAR contains a processor and a controller service that allow for manual manipulation of FlowFile attributes / content, in the context of a running NiFi instance.

The controller service instantiates an SSL web server listening on the configured port, providing for user interactivity. Instances of the processor may be added to the canvas, and configured to accept upstream FlowFiles, to examine data associated with the FlowFiles, and to route them to configurable relationships.

The components in this NAR might be useful during flow development to manually debug FlowFile content as it traverses the flow. It is not designed for use in a production flow. Manual intervention is needed to allow data to transit configured ProbeFlow processors. It should be considered to be a debugging aid during flow development, rather than a participating component in a production flow.

My goals in developing this NAR were to familiarize myself with the NiFi processor API and mechanics of custom NAR development, to leverage past experience with similar technologies, and to develop novel components that might be generally useful. I hope others might benefit from this work.

Component Usage

See the NiFi documentation for information about how to incorporate this NAR into your running NiFi instance.

Additional guidance:

SSL Context Service

In order to provide a secure TLS connection between the ProbeFlow controller service and the browser UI, a valid NiFi SSLContextService must be defined and enabled. The default keystore and truststore specified in conf/nifi.properties may be used to specify the parameters of this SSLContextService, or an additional keystore / truststore may be generated using the NiFi Toolkit.

Additional Details

  • Additional details for the ProbeFlow processor may be found here.
  • Additional details for the ProbeFlow controller service may be found here.

Usage Scenarios

Save a Test Vector of Useful FlowFiles

While testing the output of an upstream component, it is possible to save a set of useful FlowFiles for future testing.

This XML file is an example of such an archived FlowFile set. It contains a single FlowFile, which specifies five test records. It may be uploaded from the main page of the ProbeFlow web interface.

  1. From the front page of the ProbeFlow web interface, click the "Download / Upload State" link for a running processor.
  2. Click the "Choose File" button, and select the XML file referenced above.
  3. Click the "Upload Content" button.
  4. Navigate to the "viewer" resource for the relevant processor to see the uploaded content.

probe-flow's People

Contributors

greyp9 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.