[
https://issues.apache.org/jira/browse/NIFI-16575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18155524#comment-18155524
]
ASF subversion and git services commented on NIFI-16575:
--------------------------------------------------------
Commit 7bbd200d294a5580c49852507dc437cb72044b9c in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7bbd200d294 ]
NIFI-16575 Add framework support for draining a Process Group (#11914)
Add the ability to drain a Process Group, as proposed in NIP-51. A drain stops
the components that bring data into the group and runs everything else until
the data already queued in the group has been processed. This adds REST
endpoints for beginning, checking, and canceling a drain, has Connectors drain
their flows the same way, updates MergeContent and MergeRecord to use a short
Max Bin Age while draining, and adds initiateDrain and completeDrain to the
nifi-mock TestRunner.
Co-authored-by: Cursor <[email protected]>
Signed-off-by: David Handermann <[email protected]>
> Implement framework support for draining a Process Group
> --------------------------------------------------------
>
> Key: NIFI-16575
> URL: https://issues.apache.org/jira/browse/NIFI-16575
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework, Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Implement draining of a Process Group in the NiFi framework, as described in
> [NIP-51|https://issues.apache.org/jira/browse/NIP-51].
> The framework stops the source components of the group, enables the
> referenced Controller Services, starts everything else, and calls the drain
> lifecycle methods. While a drain is active, users cannot start the source
> components or stop the other components. Add REST endpoints to begin, check,
> and cancel a drain, including progress and the components that block it, with
> support for clusters.
> Also update MergeContent and MergeRecord to use a short Max Bin Age while
> draining, and add {{initiateDrain()}} and {{completeDrain()}} to the
> nifi-mock {{TestRunner}}.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)