sfc-gh-mpayne commented on PR #10074: URL: https://github.com/apache/nifi/pull/10074#issuecomment-3052942023
Hey @pvillard31 thanks for jumping in here. I think this solution is close to what we need but not exactly. The issue is that checking `isFlowFileQueued()` will return `true` if any data is queued up at all, including queued up in the root group's Output Ports. When a stateless group is run, it will queue up the data in output ports until it's been acknowledged, and I don't think we want to count these connections here. So instead of `isFlowFileQueued()` I think we want to use `rootGroup.isDataQueuedForProcessing()` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
