- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NIFI processors HTTP
- Labels:
-
Apache NiFi
Created ‎10-20-2016 09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Sorry for my question. It is an equivalent of listenSFTP & FetchSFTP with http processor ?
Created on ‎10-20-2016 01:05 PM - edited ‎08-19-2019 01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ListenHTTP/
that is what you want
it will get anything they send as a file
Created on ‎10-20-2016 12:08 PM - edited ‎08-19-2019 01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Created ‎10-20-2016 12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
Created on ‎10-20-2016 01:05 PM - edited ‎08-19-2019 01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ListenHTTP/
that is what you want
it will get anything they send as a file
Created on ‎10-20-2016 02:18 PM - edited ‎08-19-2019 01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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 ?
