[
https://issues.apache.org/jira/browse/NIFI-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303760#comment-17303760
]
ASF subversion and git services commented on NIFI-8314:
-------------------------------------------------------
Commit 105a76b7b7d665335d53111817867e9ab53b957c in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=105a76b ]
NIFI-8314: Add controller-level bulletin message for long-running tasks.
Signed-off-by: Pierre Villard <[email protected]>
This closes #4906.
> Generate warning for any long-running tasks
> -------------------------------------------
>
> Key: NIFI-8314
> URL: https://issues.apache.org/jira/browse/NIFI-8314
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Peter Turcsanyi
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> NiFi keeps track of how long any particular call to {{onTrigger}} is taking.
> We should periodically (perhaps every minute) check for any long-running
> task. If any task has been running more than 5 minutes (or some configurable
> value), we should log a WARN message with the stack trace for that particular
> thread, and we should generate a bulletin indicating that the processor has
> been running for a while.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)