NIFI-15880: Allow Connectors to enter a Troublehshooting mode where the flow beco…#11175
Draft
markap14 wants to merge 1 commit into
Draft
NIFI-15880: Allow Connectors to enter a Troublehshooting mode where the flow beco…#11175markap14 wants to merge 1 commit into
markap14 wants to merge 1 commit into
Conversation
0436d57 to
08ee450
Compare
…he flow becomes modifiable and user-managed (temporarily) rather than Connector managed.
08ee450 to
2f5bc8f
Compare
rfellows
reviewed
May 15, 2026
Comment on lines
+736
to
+739
| if (!STOPPED_STATES.contains(processor.getScheduledState())) { | ||
| throw new IllegalStateException("Cannot end Troubleshooting mode for " + this + " because Processor " + processor.getIdentifier() | ||
| + " is in state " + processor.getScheduledState() + "; it must be STOPPED or DISABLED."); | ||
| } |
Contributor
There was a problem hiding this comment.
The way this works currently is a bit confusing. You can enter troubleshooting mode while the processor is running, but you can't end troubleshooting with it still running. This forces the user to have to manually stop all processors before they would be allowed to end troubleshooting. For large connectors, this will be a tedious process of manually stopping everything.
It might be more palatable if STOP was a valid action on the connector as a whole while in troubleshooting mode. But it is explicitly not allowed in the current state.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…mes modifiable and user-managed (temporarily) rather than Connector managed.
Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000VerifiedstatusPull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
./mvnw clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation