markap14 commented on code in PR #11240: URL: https://github.com/apache/nifi/pull/11240#discussion_r3615107690
########## nifi-docs/src/main/asciidoc/administration-guide.adoc: ########## @@ -3852,6 +3852,93 @@ The Secrets Manager delegates to Parameter Providers to retrieve secret values. |`nifi.secrets.manager.cache.duration`|The duration for which resolved secret values are cached before being refreshed from the underlying Parameter Providers. Accepts any NiFi time duration value such as `5 mins`, `30 secs`, etc. A value of `0 sec` disables caching entirely. Defaults to `5 mins`. |==== +== Migrating a Connector from a Versioned Process Group + +NiFi supports a one-time path that migrates a newly created Connector from a source Versioned Process Group. +The source Versioned Process Group is used as a reference: the Connector reads it and updates its own managed flow to mirror the source's configuration, parameters, and component state. +The source flow itself is not installed onto the Connector. +Only Connectors that explicitly opt in to migration support can use this capability. + +=== Prerequisites for a local migration + +When the source is a local Process Group on the same NiFi instance, the Process Group must satisfy all of the following requirements before NiFi will allow the migration: + +- The source Process Group must be under version control. +- The source Process Group must be `UP_TO_DATE` with the latest published version in Flow Registry. +- All processors in the source Process Group must be stopped. +- All controller services in the source Process Group must be disabled. +- All queues in the source Process Group must be empty. +- The source Process Group must not reference controller services outside of the Process Group. +- The target Connector must be newly created, stopped, and not previously migrated. Review Comment: [claude-opus-4.8] Updated as suggested. -- 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]
