You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Adam Hunyadi <hu...@cloudera.com.INVALID> on 2020/06/10 10:11:22 UTC

Potential Problems on Discarding Return Values

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

Posted by Andy LoPresto <al...@apache.org>.
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 <https://cwiki.apache.org/confluence/display/NIFI/Apache+NiFi>
[2] https://gist.github.com/ <https://gist.github.com/>

Andy LoPresto
alopresto@apache.org
alopresto.apache@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 <hu...@cloudera.com.INVALID> 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 <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

Posted by Adam Hunyadi <hu...@cloudera.com.INVALID>.
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
>