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

Mark Payne updated NIFI-9546:
-----------------------------
    Fix Version/s: 1.16.0
           Status: Patch Available  (was: Open)

> PutTCP / PutUDP are inefficient
> -------------------------------
>
>                 Key: NIFI-9546
>                 URL: https://issues.apache.org/jira/browse/NIFI-9546
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.16.0
>
>
> The PutTCP and PutUDP processors do not use the {{@SupportsBatching}} 
> annotation, which can make a huge different in performance. Additionally, 
> they both are annotated with {{@TriggerWhenEmpty}} but then do nothing when 
> they have no incoming FlowFiles, which wastes a lot of resources. And the 
> shutdown routine waits 2 seconds to shutdown the processor "gracefully" 
> meaning it'll wait for any additional threads that come in to complete. 
> However we know that there will be no additional threads, so we should stop 
> waiting those 2 seconds - this slows down the unit tests significantly, also.
> Unit tests also have a lot of seemingly arbitrary sleep() statements that 
> don't appear to have any value.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to