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.

can we create nifi data flow using java api

Highlighted

can we create nifi data flow using java api

I want to create a nifi data flow using java api. Is it possible if yes, how..?

2 REPLIES 2

Re: can we create nifi data flow using java api

Contributor
@Akhil Lucky

Managing / editing flows in NiFi is done through the REST API. Full docs on it can be found here: https://nifi.apache.org/docs/nifi-docs/rest-api/index.html.

@Andrew Grande has a great tutorial on how to do this over here: https://community.hortonworks.com/articles/3160/update-nifi-flow-on-the-fly-via-api.html .

If you have any specific questions about managing the flow we can help get you on your way to programmatically managing a NiFi flow.

Highlighted

Re: can we create nifi data flow using java api

@Devin Pinkston

thanks for ua rply..

I have gone through @Andrew Grande's example but I could not able to understand as I have never been used groovy language.So, If could you please give me an example based on JAVA would be very helpful to me.

Thanks.

Don't have an account?
Coming from Hortonworks? Activate your account here