[ 
https://issues.apache.org/jira/browse/NIFI-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Y Wikander updated NIFI-4170:
-----------------------------
    Attachment: 0001-websocket-PutWebSocket-processor-support-Penalty-dur.patch

See attached patch 
[^0001-websocket-PutWebSocket-processor-support-Penalty-dur.patch].

I never found a reason to yield the Processor, only penalize the flowfile.

Each flowfile drives which path the Processor is to take. Therefor, there's 
never a reason to yield - because you don't know (at the time) if the flowfile 
behind the one being processed is going to the same place, such that it will 
probably incur the same config error.

Looks like the title of the Issue needs "Yield" removed.

> PutWebSocket processor does not support 'Penalty duration' and 'Yield 
> duration' settings
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-4170
>                 URL: https://issues.apache.org/jira/browse/NIFI-4170
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.3.0
>            Reporter: Y Wikander
>            Priority: Minor
>              Labels: patch
>         Attachments: 
> 0001-websocket-PutWebSocket-processor-support-Penalty-dur.patch, 
> 0002-websocket-PutWebSocket-processor-support-Penalty-dur.patch
>
>
> PutWebSocket processor does not support 'Penalty duration' and 'Yield 
> duration' settings.
> I'm assuming that calling content.yield() will also cover 'Penalty duration'.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to