guvencenanguvenal / nifi-splitcreateattribute

Apache Nifi Split Attribute and than Create New Attribute With Split Values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nifi-splitcreateattribute

Apache Nifi Split Attribute and than Create New Attribute With Split Values

Get Started! 😎

Download stable version.

Build project

mvn clean install

After build success, COPY split-create-attribute.nar file from target directory to {NIFI_PATH}/lib directory.

How to Use?

  • After copy nar file, restart nifi and you can add SplitCreateAttribute processor like other processors.
  • You must fill properties.

Attribute Name to be Split

Property is a Attribute Name which has data that will be split with seperator.

Seperator

Property is a regex to split specified attribute.

Split Attributes Names

Property is new attribute's names that creating with split datas.

Example: ATTRIBUTENAME1, ATTRIBUTENAME2, ATTRIBUTENAME3

Example

  • We suppose that your attribute has a data like "12|13|14".
  • Your seperator must be "\|" because it's a regex.
  • And then your split attributes name should be like "Name1, Name2, Name3"

if your attribute name count is not equal your spliting data count, processor will has an error.

Contribute

Please fork project nifi-splitcreateattribute

About

Apache Nifi Split Attribute and than Create New Attribute With Split Values


Languages

Language:Java 100.0%