简体   繁体   中英

Auto Enable Controller Service NiFi

I have an ExecuteSQL processor, it was always disabled when the servers down or loss of power because the Controller Service of DBCP Connection Pool turned off, and I have to turn on the DBCP Connection Pool manually. Can I auto-enable that Controller Service?

Very interesting problem. The one of the possible resolutions is to use nifi-api. You should track your controller service status by sending http requests perdiodically. When the status changes to "enable", you should send put request to your processor with changed state "enable". About api you can read on official site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM