Member since
03-22-2019
3
Posts
0
Kudos Received
0
Solutions
03-22-2019
03:51 PM
Hi Gergely, This short version of my question: Can I set the Run Schedule value dynamically? I have an array of different sensors that need to be polled and have value saved/reported. This would be a sample flow: I need to be able to change the interval of each sensor pulling. I'm thinking the Monitor Controller being able to receive a json message such as: { "Sensor1": 60, "Sensor2": 600, "Sensor3": 600, } To set Sensor1 to 60s interval, Sensor 2 and 3 to 10 minutes. Then send in: { "Sensor1": 600, "Sensor2": 60, "Sensor3": 60, } To change Sensor 2 and 3 to 60s and Sensor 1 to 10 minutes when needed. I need the flow to be autonomous beyond the control messages. I can't have an external event "poke" the pollers constantly. Don't know if there is a way to do this in NiFi or if I have to implement my own bookkeeping in a custom processor. Thanks.
... View more
03-22-2019
05:24 AM
Hello, I am trying to set up a processor that runs at a variable interval. I'd like to be able to change that interval amount dynamically by reading the content/setting an attribute from control message received by the flow. Is that possible? I have looked but not been able to find a way to do that. Thank you. -Aaron
... View more
Labels:
- Labels:
-
Hortonworks Cloudbreak