Hey Geoffery
You can also write a script that change the property key of the old
JoltTransform processors in the flow.json.gz file to the new ones like
sed -e
's|org.apache.nifi.processors.standard.JoltTransformJSON|org.apache.nifi.processors.jolt.JoltTransformJSON|g'
\
-e 's|jolt-spec|Jolt Specification|g' \
-e 's|"jolt-transform"|"Jolt Transform"|g' \
Best regards
Yuanhao
________________________________
发件人: Greene (US), Geoffrey N via users <[email protected]>
发送时间: 2025年5月23日 17:08
收件人: [email protected] <[email protected]>
主题: 1.28.1 to 2.4 upgrade and dirty Jolt processor
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
As I begin the process of upgrading 1.28.1 to 2.4.0, I notice that upgrading
flows with a JoltTransformJSON processor does not work.
Someone on the nifi side should probably look at this. The “old” processor
does not map well to the new one. My solution is for each one, I have had to
drag a new one in, and recreate all the values.
Just fyi, I do have a workaround…
Geoffrey Greene
ATF / Senior Software Ninjaneer