NiFi Drunken Dev - Bundle

NiFi processors developed by the drunken developer.

Лицензия

Лицензия

Группа

Группа

com.drunkendev
Идентификатор

Идентификатор

nifi-drunken-bundle
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

NiFi Drunken Dev - Bundle
NiFi processors developed by the drunken developer.
Ссылка на сайт

Ссылка на сайт

https://github.com/brettryan/nifi-drunken-bundle
Организация-разработчик

Организация-разработчик

Drunken Dev
Система контроля версий

Система контроля версий

https://github.com/brettryan/nifi-drunken-bundle

Скачать nifi-drunken-bundle

Имя Файла Размер
nifi-drunken-bundle-1.0.0.pom 5 KB
Обзор

Как подключить последнюю версию

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

Зависимости

test (4)

Идентификатор библиотеки Тип Версия
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

Модули Проекта

  • nifi-drunken-nar
  • nifi-drunken-processors

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

Версии библиотеки

Версия
1.0.0