Question
SENDING HTTP RESPONSE PART BY PART(PAGINATION) IN NIFI
Hi,
I am receiving and HTTP call in NIFI. Which does the below job:
- Execute the sql and fetch result
- Convert the result in to JSON(there are 100 or more number of records)
- Send back the result as HTTPRESPONSE.
Now the issue is that if i want to sent the data part by part( Using pagination mode) . For an example:
- Receiving the HTTP call . In the call we will be receiving page number. Say it is 5 pages.
- So if the total record is 100 then first response will be 20 records(100/5).
- First response will have 20 records, second response will have another 20. Like that 5 times

How can i handle this in NIFI ? Please provide your thoughts on the same. Your help will be much appreciated

