JoltTransformJSON 2.0.0

Bundle
org.apache.nifi | nifi-jolt-nar
Description
Applies a list of Jolt specifications to the flowfile JSON payload. A new FlowFile is created with transformed content and is routed to the 'success' relationship. If the JSON transform fails, the original FlowFile is routed to the 'failure' relationship.
Tags
cardinality, chainr, defaultr, jolt, json, removr, shiftr, sort, transform
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
  • Additional Details for JoltTransformJSON 2.0.0

    JoltTransformJSON

    Usage Information

    The Jolt utilities processing JSON are not stream based therefore large JSON document transformation may consume large amounts of memory. Currently, UTF-8 FlowFile content and Jolt specifications are supported. A specification can be defined using Expression Language where attributes can be referred either on the left or right hand side within the specification syntax. Custom Jolt Transformations (that implement the Transform interface) are supported. Modules containing custom libraries which do not existing on the current class path can be included via the custom module directory property. Note: When configuring a processor if user selects of the Default transformation yet provides a Chain specification the system does not alert that the specification is invalid and will produce failed flow files. This is a known issue identified within the Jolt library.

Properties
Relationships
Name Description
failure If a FlowFile fails processing for any reason (for example, the FlowFile is not valid JSON), it will be routed to this relationship
success The FlowFile with transformed content will be routed to this relationship
Writes Attributes
Name Description
mime.type Always set to application/json