Support Questions

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

i'am trying to develop my first project with horthonworks so i need to stream data from (not twitter) facebook ,web site ,instagram , using spring-xd , apache flume,or nifi .Does anyone have any examples/templates for using this plugins .

avatar
Rising Star
 
1 ACCEPTED SOLUTION
6 REPLIES 6

avatar
Master Mentor

avatar
Master Mentor

avatar
Master Mentor

@nejm hadj Adding more information based on your comments

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.flume.ExecuteFlumeSink/...

You should stick with NiFi and use built in processor to ingest the data from various social media sources.

Please do read docs.

In NiFi, the contents of a FlowFile are accessed via a stream, but in Flume it is stored in a byte array. This means the full content will be loaded into memory when a FlowFile is processed by the ExecuteFlumeSink processor. You should consider the typical size of the FlowFiles you'll process and the batch size, if any, your sink is configured with when setting NiFi's heap size.

avatar
Master Mentor
@nejm hadj

nifi templates Link

avatar
Rising Star

thnx , i'am confused about what i will use for streaming data ( nifi or flume)to hdfs ,what is the difference between this plugins ,my goal is streaming data from social media (facebook ,instagram,website,mobile) . i can use them together ??

avatar
Master Mentor

@nejm hadj nifi is a visual tool, flume is not. You can work with nifi and flume together as nifi has flume processors. Once you try nifi you won't need to look at flume.