Scenario:
We have a custom Controller Service which was deprecated in favor of its
replacement (also custom.) The original CS extends the new CS, and contains
just a single method: customValidate. This remained intact to log a message
saying "Don't use me.. use the new one."

When NiFi was re-started with the new service/deprecated old service,
predictably, the log showed the above message. But, it was appearing
constantly at 5 second intervals. Even when the controller service was
removed from the flow entirely, the messages originating from
customValidate continued every 5 seconds.

Why is validation of a Controller Service - especially one which no longer
exists - occurring periodically? Shouldn't it only occur when its
properties change and/or it is enabled?

Reply via email to