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

Anna Nys reassigned NIFI-8673:
------------------------------

    Assignee: Anna Nys

> Document difference between Active Threads as shown in Status bar versus as 
> shown by Node
> -----------------------------------------------------------------------------------------
>
>                 Key: NIFI-8673
>                 URL: https://issues.apache.org/jira/browse/NIFI-8673
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Documentation & Website
>    Affects Versions: 1.11.4, 1.13.2
>            Reporter: Nissim Shiman
>            Assignee: Anna Nys
>            Priority: Major
>
> "Active Threads" on the main gui's status bar has a lower number then "Active 
> Thread Count" when broken down by nodes
>  (i.e. Global Menu -> Cluster)
>  
> This is because "Active Threads" only captures threads by objects that are in 
> the graph (i.e. processors, processor groups, remote processor groups, 
> funnels, input and output ports). [1]
>  
> "Active Thread Count" is more comprehensive and includes these as well as any 
> other threads as well (i.e. reporting tasks, controller services etc.) [2] [3]
>  
> This difference should be documented in the Apache NiFi documentation.
>  
>  
>  
>  
> [1] 
> [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java#L2092-2126]
> [2] 
> [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/heartbeat/ClusterProtocolHeartbeatMonitor.java#L157]
> [3] 
> [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java#L2149-2153]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to