Support Questions

Find answers, ask questions, and share your expertise

create template is missing in Apache nifi-2.0.0-M1

avatar
Contributor

Hi Sir,

I am using apache nifi-2.0.0-M1 version. I am using window 10. I have some work. I need to export these task & import to production. But create template is missing.

Here is image of process group:

enam_0-1705250519053.png

Process group configuration:

enam_1-1705250557819.png

How to export process group & import to other apache nifi using same version?

 

 

2 ACCEPTED SOLUTIONS

avatar
Super Guru

Hi @enam ,

The concept of templates has been removed in 2.0 per the following article:

https://medium.com/cloudera-inc/getting-ready-for-apache-nifi-2-0-5a5e6a67f450

You can either use the Nifi registry  to share files as the article suggest. You can also right click on a given process group and select Download Flow Definition which will save the process group in json format.

 

If that helps please accept solution.

Thanks

View solution in original post

avatar
New Member

It didn't take long, so I'll write it here. All you need is just start add process group, then click the browse button, select the json file and that's it. I hope this will be useful to someone

 

View solution in original post

4 REPLIES 4

avatar
Super Guru

Hi @enam ,

The concept of templates has been removed in 2.0 per the following article:

https://medium.com/cloudera-inc/getting-ready-for-apache-nifi-2-0-5a5e6a67f450

You can either use the Nifi registry  to share files as the article suggest. You can also right click on a given process group and select Download Flow Definition which will save the process group in json format.

 

If that helps please accept solution.

Thanks

avatar
New Member

Hello! When i download process group as json file how can i export it in another nifi? Thanks very much

avatar
Master Mentor

@NifiEnjoyer 

Welcome to the community.

As this thread is related to the deprecation of NiFi templates in Apache NiFi 2 and an old thread, it would be better to start a new community question with your query about downloading and uploading flow definitions.  You'll want to include yoru source and destination Apache NiFi versions in your question details.  Fell free to @MattWho in your new  community question.

Thank you,
Matt

avatar
New Member

It didn't take long, so I'll write it here. All you need is just start add process group, then click the browse button, select the json file and that's it. I hope this will be useful to someone