You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "exceptionfactory (via GitHub)" <gi...@apache.org> on 2024/07/22 20:50:55 UTC
[PR] NIFI-13560 Change Parameter Provider handling to avoid storing values [nifi]
exceptionfactory opened a new pull request, #9102:
URL: https://github.com/apache/nifi/pull/9102
# Summary
[NIFI-13560](https://issues.apache.org/jira/browse/NIFI-13560) Refactors Parameter Provider handling to avoid storing fetched Parameter Values in the persisted flow configuration.
The implementation change retains memory-based storage of fetched Parameter Values ,but stores a reference string in the serialized flow configuration. When the framework starts, the flow synchronization process fetches current values from referenced Parameter Providers.
This change requires configured Parameter Provider services to be accessible on startup, but otherwise retains existing behavior. This strategy restores centralized management of external Parameter Values to referenced external services. The nature of external vaults and secrets managers necessitates high availability, so the requirement for accessibility on application start should be reasonable for production deployments.
# Tracking
Please complete the following tracking steps prior to pull request creation.
### Issue Tracking
- [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created
### Pull Request Tracking
- [X] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000`
- [X] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000`
### Pull Request Formatting
- [X] Pull Request based on current revision of the `main` branch
- [X] Pull Request refers to a feature branch with one commit containing changes
# Verification
Please indicate the verification steps performed prior to pull request creation.
### Build
- [X] Build completed using `mvn clean install -P contrib-check`
- [X] JDK 21
### Licensing
- [ ] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html)
- [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` files
### Documentation
- [ ] Documentation formatting appears as expected in rendered files
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-13560 Change Parameter Provider handling to avoid storing values [nifi]
Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory commented on PR #9102:
URL: https://github.com/apache/nifi/pull/9102#issuecomment-2245577127
Thanks @bbende! I created [NIFI-13575](https://issues.apache.org/jira/browse/NIFI-13575) to address the Jetty Server startup behavior.
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-13560 Change Parameter Provider handling to avoid storing values [nifi]
Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory commented on PR #9102:
URL: https://github.com/apache/nifi/pull/9102#issuecomment-2245549440
Thanks for the feedback and exercising the failure behavior @bbende.
I agree that the JettyServer startup failure behavior should be adjusted. Although it is related, I think it would be better to consider that in a separate issue to consider general failure handling, to include this and other types of context initialization failures.
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-13560 Change Parameter Provider handling to avoid storing values [nifi]
Posted by "bbende (via GitHub)" <gi...@apache.org>.
bbende commented on PR #9102:
URL: https://github.com/apache/nifi/pull/9102#issuecomment-2245568797
I'm fine tackling the start up issue in a separate ticket since it is really an existing problem. Everything else is good here so +1
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-13560 Change Parameter Provider handling to avoid storing values [nifi]
Posted by "bbende (via GitHub)" <gi...@apache.org>.
bbende merged PR #9102:
URL: https://github.com/apache/nifi/pull/9102
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org