Created 12-22-2016 05:51 AM
Hi All,
I need to run multiple fetchTwitter dataflows dynamically, is there some sample code using nifi api on how to instanciate an templte and execute multiple instances on nifi.
Thanks,
Avijeet
Created 12-22-2016 06:36 AM
did you try NiFi rest API https://nifi.apache.org/docs/nifi-docs/rest-api/
Created 12-22-2016 06:52 AM
Hi @Rajkumar Singh,
what should be the steps?
1. lookup a template > what is id of a template?
/templates/{id}/download Exports a template
2. Deploy the template?
url?
3. start the process group? this works fine.
Created 12-22-2016 12:31 PM
This is the tool you need:
https://github.com/aperepel/nifi-api-deploy
This is a tutorial to create it on a HDF cluster
Created 08-02-2017 10:28 AM
"/process-groups/{id}/template-instance" API Instantiates a template
Nifi-Rest