[ 
https://issues.apache.org/jira/browse/NIFI-14855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080089#comment-18080089
 ] 

Michael W Moser commented on NIFI-14855:
----------------------------------------

After watching the attached video, I think I figured out the real issue with 
AttributesToJSON here.  If you enter a value in the "Attributes Regular 
Expression" property and start the processor, then stop and clear that 
property, the next time you run the processor it unexpectedly uses the old 
value.  The onScheduled method parses the regex, but does not replace the 
Pattern if the regex is empty.

> Attributes To Json processor issue
> ----------------------------------
>
>                 Key: NIFI-14855
>                 URL: https://issues.apache.org/jira/browse/NIFI-14855
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 2.4.0, 2.5.0
>         Environment: RHEL 9
> 4x nodes cluster
>            Reporter: WojciechWitos
>            Assignee: Himanshu sahu  Ksolve NiFi Expert
>            Priority: Major
>         Attachments: AttributesToJsonProc.mkv, Screenshot from 2025-08-20 
> 01-48-33.png, Screenshot from 2025-08-20 01-48-44.png
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> AttributesToJson does different things then set up in the processor.
> Sending the video in the attachment - will be easier with visualisation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to