Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

creating a nifi instance from a template using api

creating a nifi instance from a template using api

Expert Contributor

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

4 REPLIES 4

Re: creating a nifi instance from a template using api

Re: creating a nifi instance from a template using api

Expert Contributor

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.

Re: creating a nifi instance from a template using api

Super Guru

Re: creating a nifi instance from a template using api

New Contributor

"/process-groups/{id}/template-instance" API Instantiates a template
Nifi-Rest