[
https://issues.apache.org/jira/browse/MINIFICPP-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz resolved MINIFICPP-1909.
-------------------------------------
Resolution: Fixed
Most likely implicitly fixed by changing to sync flow file reloading.
> GenerateFlowFile outputs garbage after certain C2/controller updates
> --------------------------------------------------------------------
>
> Key: MINIFICPP-1909
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1909
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Marton Szasz
> Assignee: Gábor Gyimesi
> Priority: Major
>
> I've seen GenerateFlowFile used with:
> * Batch Size: '1'
> * Custom Text: abc
> * Data Format: Text
> * File Size: 1 kB
> * Unique FlowFiles: 'false'
> The output was connected to LogAttribute, with payload logging. Both timer
> driven, every 1 sec. GenerateFlowFile was updated to binary format, and later
> back to text. After this sequence, the log kept showing randomly either the
> correct custom text, or random binary garbage. It should only show the custom
> text after the last update and maybe one extra trigger to account for a
> possibly queued flow file.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)