NiFi Drunken Dev - Processors

NiFi processors developed by the drunken developer.

License

License

GroupId

GroupId

com.drunkendev
ArtifactId

ArtifactId

nifi-drunken-processors
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project Organization

Drunken Dev

Download nifi-drunken-processors

How to add to project

<!-- https://jarcasting.com/artifacts/com.drunkendev/nifi-drunken-processors/ -->
<dependency>
    <groupId>com.drunkendev</groupId>
    <artifactId>nifi-drunken-processors</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.drunkendev/nifi-drunken-processors/
implementation 'com.drunkendev:nifi-drunken-processors:1.0.0'
// https://jarcasting.com/artifacts/com.drunkendev/nifi-drunken-processors/
implementation ("com.drunkendev:nifi-drunken-processors:1.0.0")
'com.drunkendev:nifi-drunken-processors:jar:1.0.0'
<dependency org="com.drunkendev" name="nifi-drunken-processors" rev="1.0.0">
  <artifact name="nifi-drunken-processors" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.drunkendev', module='nifi-drunken-processors', version='1.0.0')
)
libraryDependencies += "com.drunkendev" % "nifi-drunken-processors" % "1.0.0"
[com.drunkendev/nifi-drunken-processors "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.nifi : nifi-utils jar 1.1.0

provided (2)

Group / Artifact Type Version
org.apache.nifi : nifi-api jar 1.1.0
org.apache.nifi : nifi-dbcp-service-api jar 1.1.0

test (6)

Group / Artifact Type Version
junit : junit jar 4.12
org.slf4j : slf4j-simple jar 1.7.12
org.apache.nifi : nifi-mock jar 1.1.0
org.apache.derby : derby jar 10.11.1.1
org.mockito : mockito-core jar 1.10.19
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