NiFi Drunken Dev - NAR

NiFi processors developed by the drunken developer.

License

License

GroupId

GroupId

com.drunkendev
ArtifactId

ArtifactId

nifi-drunken-nar
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

nar
Description

Description

NiFi Drunken Dev - NAR
NiFi processors developed by the drunken developer.
Project Organization

Project Organization

Drunken Dev

Download nifi-drunken-nar

Dependencies

compile (2)

Group / Artifact Type Version
com.drunkendev : nifi-drunken-processors jar 1.0.0
org.apache.nifi : nifi-dbcp-service-nar nar 1.1.0

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 1.10.19
org.slf4j : slf4j-simple jar 1.7.12
org.codehaus.groovy : groovy-all jar 2.4.5

Project Modules

There are no modules declared in this project.

NiFi Drunken Dev Bundle

This NiFi bundle serves to add enrichment support to FlowFiles by adding attributes.

Presently one process is available which will execute SQL against the FlowFile adding the values from the first record returned as properties to the FlowFile with the property names being that of the column names identified in the ResultSet.

Example

Given a table with the following

create table if not exists test_table (
  id    identity primary key,
  some_name   varchar,
  some_id     int
);
insert into test_table (some_name, some_id) values ('test val', 3);

We could define a processor as follows:

Flow Example

Processor Details

This would result in the following flow file attributes being applied.

Flow File Attributes

Versions

Version
1.0.0