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.

NIFI fetching data from API with help of given conditions

NIFI fetching data from API with help of given conditions

Explorer

I was trying to fetch the data from a rest API inside NIFI, I have the following scenarios.
1) I have Rest API which fills fetch data from Cassandra database with the given parameters example employee number.
2) NIFI input port will receive this employee number from Flink application.
How do I fetch data from the rest api with the given employee number received in the input port? I don't need a scheduling mechanism here, just need to fetch data from Rest API whenever a filter input received in the input port, is this possible using NIFI?

 

I am trying this solution as Query cassandra will support only schedule based fetch, I have to fetch the data only when some inputs comes to Input port of NIFI template, please suggest if we have some alternative solutions..

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