[
https://issues.apache.org/jira/browse/NIFI-14337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srilatha Ramreddy updated NIFI-14337:
-------------------------------------
Description:
Currently, the {{JoltTransformJSON}} processor in Apache NiFi only supports
transformations on the content of a FlowFile. However, in scenarios where
multiple JSON objects exist within a single FlowFile (e.g., as separate
attributes rather than in the content), users are required to update the
payload and apply multiple JOLT transformations, which can be cumbersome.
To enhance flexibility and usability, I propose extending {{JoltTransformJSON}}
to allow JOLT transformations on attributes that contain JSON data. This will
enable users to apply JOLT transformations directly to JSON-encoded attributes
without modifying the FlowFile content.
was:
Currently, the {{JoltTransformJSON}} processor in Apache NiFi only supports
transformations on the content of a FlowFile. However, in scenarios where
multiple JSON objects exist within a single FlowFile (e.g., as separate
attributes rather than in the content), users are required to update the
payload and apply multiple JOLT transformations, which is inefficient.
To enhance flexibility and usability, I propose extending {{JoltTransformJSON}}
to allow JOLT transformations on attributes that contain JSON data. This will
enable users to apply JOLT transformations directly to JSON-encoded attributes
without modifying the FlowFile content.
> Enhance JoltTransformJSON to Support JOLT Transformations on Attributes
> -----------------------------------------------------------------------
>
> Key: NIFI-14337
> URL: https://issues.apache.org/jira/browse/NIFI-14337
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 2.2.0
> Reporter: Srilatha Ramreddy
> Priority: Major
> Labels: jolt
> Fix For: 2.3.0
>
>
> Currently, the {{JoltTransformJSON}} processor in Apache NiFi only supports
> transformations on the content of a FlowFile. However, in scenarios where
> multiple JSON objects exist within a single FlowFile (e.g., as separate
> attributes rather than in the content), users are required to update the
> payload and apply multiple JOLT transformations, which can be cumbersome.
> To enhance flexibility and usability, I propose extending
> {{JoltTransformJSON}} to allow JOLT transformations on attributes that
> contain JSON data. This will enable users to apply JOLT transformations
> directly to JSON-encoded attributes without modifying the FlowFile content.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)