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..