Re: Potential Problems on Discarding Return Values

2020-06-10 Thread Andy LoPresto
Hi Adam,

The mailing list strips a lot of attachments, your PDF included. The best way I 
have found to share this kind of information with the community is to put it on 
the Apache NiFi Wiki [1] or post a GitHub Gist [2], etc. Thanks. 

[1] https://cwiki.apache.org/confluence/display/NIFI/Apache+NiFi 

[2] https://gist.github.com/ 

Andy LoPresto
alopre...@apache.org
alopresto.apa...@gmail.com
He/Him
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Jun 10, 2020, at 3:33 AM, Adam Hunyadi  
> wrote:
> 
> Hi,
> 
> Sorry, I did not realize, that this confluence page might not be available 
> for some devs.
> 
> Attached the content as pdf.
> 
> Thanks,
> Adam
> 
> On 2020. 06. 10. 12:11, Adam Hunyadi wrote:
>> Hi,
>> 
>> Upon checking some behaviours in NiFi with Tamas Palfy, we have found that 
>> function signatures like this can be a frequent source of error:
>> 
>> public FlowFile penalize(FlowFile flowFile) { ... }
>> 
>> I documented the issue here:
>> 
>> https://cloudera.atlassian.net/wiki/spaces/ENG/pages/610534373/Discarding+Return+Values+in+NiFi
>>  
>> 
>> It would be nice if a Java dev with some spare time could look more into the 
>> issue and share their findings.
>> 
>> Cheers,
>> Adam
>> 



Re: Potential Problems on Discarding Return Values

2020-06-10 Thread Adam Hunyadi

Hi,

Sorry, I did not realize, that this confluence page might not be 
available for some devs.


Attached the content as pdf.

Thanks,
Adam

On 2020. 06. 10. 12:11, Adam Hunyadi wrote:


Hi,

Upon checking some behaviours in NiFi with Tamas Palfy, we have found 
that function signatures like this can be a frequent source of error:


|public FlowFile penalize(FlowFile flowFile) { ... }|

I documented the issue here:

https://cloudera.atlassian.net/wiki/spaces/ENG/pages/610534373/Discarding+Return+Values+in+NiFi

It would be nice if a Java dev with some spare time could look more 
into the issue and share their findings.


Cheers,
Adam