konpyutaika / nifikop

The NiFiKop NiFi Kubernetes operator makes it easy to run Apache NiFi on Kubernetes. Apache NiFI is a free, open-source solution that support powerful and scalable directed graphs of data routing, transformation, and system mediation logic.
https://konpyutaika.github.io/nifikop/
Apache License 2.0
125 stars 42 forks source link

Added check to control if a dataflow is unscheduled in order to schedule it #279

Closed juldrixx closed 1 year ago

juldrixx commented 1 year ago
Q A
Bug fix? yes
New feature? yes
API breaks? no
Deprecations? no
Related tickets -
License Apache 2.0

What's in this PR?

New check to control if a dataflow is unscheduled in order to schedule it.

Why?

To prevent spamming Start and Enable and overflowing of the Flow History Configuration

Checklist

mh013370 commented 1 year ago

Would a dataflow be unscheduled on first deployment? Can you describe what scenarios this condition presents itself?

juldrixx commented 1 year ago

Would a dataflow be unscheduled on first deployment? Can you describe what scenarios this condition presents itself?

It works the same as before. Only, instead of constantly starting and activating processors and services, we check whether any processors or services are switched off. Any point of caution?