Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NIFI processors HTTP

avatar
Rising Star

Hi all,

Sorry for my question. It is an equivalent of listenSFTP & FetchSFTP with http processor ?

1 ACCEPTED SOLUTION

avatar
Master Guru
4 REPLIES 4

avatar

Hello,

First of all, excuse me if I'm wrong, but HHTP is HTTP?

I couldn't find resources with HHTP if it's another protocol.

But for HTTP, NiFi has a lot.

If it's simple GET or POST requests, I'd recommend GetHTTP, PostHTTP, or InvokeHTTP.

Or if you need to do some processing after receiving HTTP request and before returning response, HandleHttpRequest and HandleHttpResponse can be helpful.

Thanks!

8699-http-processors.png

avatar
Rising Star

@kkawamura : title corrected

I'm talking HTTP

My use case is external client would to send tar.gz file to my cluster hadoop.

I have a cluster nifi with 4 nodes, i want to use its to ingest data.

So I'm thinking to use listenhttp ==> (fetchhttp not exist) ==> putHDFS

thanks

avatar
Master Guru

avatar
Rising Star

@Timothy :

I got this flow

I'm use for testing this curl

curl -i -v -F file=@/var/opt/hosting/log/flume/flume-a1.log  http://nifi011:10000/contentListener

RouteOnAttribute has properties (abc ==> ${filename:contains('flume')}

Why flume log not send tu HDFS ?

8730-listenthttp.jpg