Member since
09-14-2015
47
Posts
89
Kudos Received
11
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2244 | 09-22-2017 12:32 PM | |
11361 | 03-21-2017 11:48 AM | |
1024 | 11-16-2016 12:08 PM | |
1450 | 09-15-2016 09:22 AM | |
3328 | 09-13-2016 07:37 AM |
12-19-2019
01:53 PM
@Augustine ,
Thanks for the feedback. I have corrected the answer and thank you for reporting this.
Cheers,
Li
... View more
10-26-2017
11:40 PM
4 Kudos
Description Learn how to consume real-time data from the Satori RTM platform using NiFi. Background Satori is a cloud-based live platform that provides a publish-subscribe messaging service called RTM, and also makes available a set of free real-time data feeds as part of their Open Data Channels initiative: https://www.satori.com/docs/using-satori/overview https://www.satori.com/opendata/channels This article steps through how to consume from Satori's Open Data Channels in NiFi, using a custom NiFi processor. Note - the article assumes you already have a working version of NiFi up and running. Link to code on github: https://github.com/laurencedaluz/nifi-satori-bundle Installing the custom processor To create the required nar file, simply clone and build the following repo with maven: git clone https://github.com/laurencedaluz/nifi-satori-bundle.git
cd nifi-satori-bundle
mvn clean install
This will make the following .nar file under the nifi-satori-bundle-nar/target/ directory: nifi-satori-bundle-nar-<version>.nar Copy this file into the lib directory of your NiFi instance. If using HDF, it exists at: /usr/hdf/current/nifi/lib Restart NiFi for the nar to be loaded. Using the ConsumeSatoriRtm processor The ConsumeSatoriRtm accepts the following configurations: At a minimum, you will just need to provide the following configurations (which you can get directly from the satori open channels site):
Endpoint Appkey Channel In this example, I've chosen to consume from the 'big-rss' feed using the configurations provided here: https://www.satori.com/opendata/channels/big-rss That's it! after starting the ConsumeSatoriRtm process you will see data flowing: Additional Features
The processor also supports using Satori's Streamview filters, which allow you to provide SQL-like queries to select, transform, or aggregate messages from a subscribed channel:
In the 'big-rss' example above, the following filter configuration would limit the stream to messages containing the word "jobs". select * from `big-rss` where feedURL like '%jobs%'
The NiFi processor also supports batching of multiple messages into a single FlowFile, which will provide a new-line delimited list of messages in each file (based on a 'minimum batch size' configuration):
... View more
Labels:
09-23-2017
05:17 PM
Thanks a lot for your help , you saved my day ... thanks again .....
... View more
03-21-2017
08:20 PM
Thank you, this is exactly the type of workaround I was looking for!
... View more
01-31-2017
03:17 PM
I got { "status": 500,
"message": "Server Error"
} at 2.5 HDP when try this solution
... View more
11-16-2016
12:08 PM
1 Kudo
@Avijeet Dash I'd suggest using NiFi for this. You can read from the weather api using NiFi's GetHTTP processor, and use NiFi to process the data before loading it into another system (not sure what other components you're using but NiFi integrates with most systems, so you can use it to directly load the data into HDFS, HBase, Kafka, Cassandra, relational DBs etc..). Check out the "Fun_with_Hbase" template on the NiFi website to help you get started, it gets random data from an API call before loading into HBase. https://cwiki.apache.org/confluence/display/NIFI/Example+Dataflow+Templates Also check out this article which uses NiFi to pull data from the Google Finance API: https://community.hortonworks.com/content/kbentry/8422/visualize-near-real-time-stock-price-changes-using.html
... View more
02-22-2018
08:28 PM
@lgeorge @justin kuspa @Rick Moritz Any further updates on why the R interpreter was removed in 2016? Will functionality differ from RStudio in terms of running R Code through the Livy interpreter in Zeppelin?
... View more
09-02-2016
07:02 AM
Hi, how to set user in nifi 0.7,since in NiFi 0.7 UI we can able to see the user popup box but not the user add button
... View more
07-17-2017
10:43 AM
Hi @rama, I'm new to hortonworks and from last three hours i'm trying to add a new user to one of my edgeNode, but its saying "su: user adduser does not exist" when trying cammand "sudo su adduser test". Can you please help me.
... View more
04-15-2016
06:09 AM
1 Kudo
Thanks Laurence Da Luz . It helped me
... View more