Member since
11-26-2019
9
Posts
0
Kudos Received
0
Solutions
02-05-2020
10:04 PM
Hi,
I am using InvokeHTTP processor to invoke one API (this api functionality is to access data from 2 tables, does some data manipulation/operation and finally dumps the data to 3rd table, and returns response message " Data Inserted" back to NIFI)
When checked at the postman local machine this API retruns the response in 30secs
But when checking the same at Nifi InvokeHTTP processor end, I am getting 504 Gateway-Timeout error, and routed to retry state, then failure state. Meanwhile when checked at the cassandra end, data got dumped successfully
Could anyone please help to resolve this issue.
... View more
Labels:
- Labels:
-
Apache NiFi
12-17-2019
08:51 PM
Thanks Matt for the quick response.
... View more
12-12-2019
04:00 AM
Hi,
I want to add headers to a csv file. I have used Replace text processor for this purpose.
But final output just append headers to the first line.
eg:
Sample :
2-Dec-15,Mumbai,120
Expected output :
date,city,temp
2-Dec-15,Mumbai,120
Output :
date,city,temp2-Dec-15,Mumbai,120
I have tried both ways by adding '\n' and 'shift+enter' after the header line
id,name,site,score\n
id,name,site,scoreshift+enter as the replacement value,
but no luck instead \n and shift+enter was taken as a value.
Could anyone help to resolve this issue.
... View more
Labels:
- Labels:
-
Apache NiFi