简体   繁体   中英

Is there a way to schedule a Nifi Controller Service to update periodically

I need my NiFi Controller Service to update periodically. Is there a way to achieve this?

For more information: I have two files 1. Customer_Info and 2. Sales_Info

Customer_Info file contains information like cust_id , name , address .

Sales_Info contains information like sales_id , cust_id , date_id .

Both the files are received daily. Now, I want to merge these two files in NiFi. For this, I'm using CSVRecordLookupService lookup service. But once the files is loaded, I don't see a way to reload it with new file received.

It would be up to each controller service to implement the logic to periodically update itself since it is dependent on whatever the controller service is doing.

Unfortunately the CsvRecordLookupService does not periodically update itself, but I think an enhancement could be implemented to make it do this. An example of one that does update itself is the PropertiesFileLookupService.

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