Support Questions
Find answers, ask questions, and share your expertise

is it possible to integrate Apache NiFi with GitHub?

Highlighted

is it possible to integrate Apache NiFi with GitHub?

Rising Star

Hi,

I have a scenario, where I have to copy files to github from local directory is it possible?

if any reference templates available plz share.

 

Thanks

--Murali 

3 REPLIES 3
Highlighted

Re: is it possible to integrate Apache NiFi with GitHub?

Expert Contributor

Re: is it possible to integrate Apache NiFi with GitHub?

Rising Star

H Charan,

Thanks for the information provided, here what what I looking is something like GetFile and PutFile to GitHub, not actually upload/download or push/pull.

I am looking for copy and past something like that.

 

Thanks

--Murali

Highlighted

Re: is it possible to integrate Apache NiFi with GitHub?

@murali2425 You could build a nifi flow that could “copy” files to guthub.  This would need to be done by creating a custom processor or maybe even just ExecuteScript to run a custom python script. 

 

Either route you take you would need to make sure that all nifi nodes are setup with permissions to write to the github repo.  Then inside of your custom processor or script you would execute the required git commands to commit (“copy”) the file(s).