exceptionfactory commented on code in PR #9873:
URL: https://github.com/apache/nifi/pull/9873#discussion_r2039947252
##########
nifi-extension-bundles/nifi-box-bundle/nifi-box-processors/src/main/java/org/apache/nifi/processors/box/ConsumeBoxEnterpriseEvents.java:
##########
@@ -180,12 +180,23 @@ private String retrieveLatestStreamPosition() {
@Override
public void onTrigger(final ProcessContext context, final ProcessSession
session) throws ProcessException {
while (true) {
+ if (!isScheduled()) {
Review Comment:
Thanks for the response. Given that these are debug logs, not written in the
default configuration, I recommend simplifying the implementation and removing
this log. The other debug logs that include the stream position are useful, and
should provide sufficient details for debugging.
--
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]