@arutkwccu @joseomjr
NiFi components evolve from release to release. as part of their evolution the components may have default properties added or removed.
That is the case here with invokeHTTP processor. The property "Proxy Type" idd exist as a property in Apache NiFi 1.24 invokeHTTP processor and had a default value of "http".
This property was removed in Apache NIFi 2.0.0-M1 invokeHTTP processor.
In this specific example:
- Earlier version of Apache NIFi 1.x invokeHTTP processor supported configuring proxy properties directly in the processor. Later version of Apache NiFi allowed those same configuration to be abstracted to a StandardProxyConfigurationService controller service (for ease of reuse), but also kept the original direct properties in the processor to avoid upgrade issues for user upgrading within a minor release change. As Apache NiFi 2.0.0-M1 is a major release, clean-up is happening here to remove the deprecated config methods for the newer controller service config method.
When a NiFi loads the flow.json.gz from another NiFi it loads the same class and reads in all the configured properties. For any configured property where the current version does not have the same property, the property is added as a custom dynamic property. This may render your component invalid until manual correction is made (in your case deleting this dynamic property). Apache NiFi has always functioned in this way and it is not a bug. It is not possible for NiFi framework to know what "dynamic" properties should or should not be added to component, it simply reads what is found in the flow.json.gz being loaded. Validating your dataflows post any upgrade (not just major version changes like Apache NiFi 1.x to 2.x) is a necessary step.
This specific migration is mentioned in the Migrating Deprecated Components and Features guide.
You'll know right away if a property is not a default property but rather a "dynamic" custom property when you see it. Only dynamic properties will present the trashcan icon to the right of it allowing you to delete it.
Hope this adds clarity here.
If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Mat