nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BOUKRAA, Kacem" <bk_bouk...@esi.dz>
Subject Is it possible to create instances of a processor dynamically based on HTTP response?
Date Tue, 01 Dec 2015 15:23:42 GMT
Hello everyone,
So my case is as the following, i'm trying to retrieve JSON files from a
social network (Facebook), and based on some values in the file of the HTTP
response i want to invoke a new HTTP requests dynamically (in function of
the total number of values count).
Ex: Retrieve a JSON file for a page publication in Facebook Page (with HTTP
request), and then retrieve the info about each profil of each one who
commented on that publication.
So is there any way to achieve this?
Another question, Is there any Loop possibility for creating a new
instances of a HTTP processor with different parameter for each (the
profile ID for each one who commented)?
(Ex: graphs.facebook.com/ID1, graphs.facebook.com/ID2 ..
graphs.facebook.com/ID1000 without creating each processor separately), If
this not possible do you recommend me to use Flume for this purpose?
​Thanks in advance :)​
-- 

[image: Image]

*Kacem BOUKRAA**5**th**year student at ESI | Higher National School Of
Computer Science** (Information Systems)*
*Google Student Ambassador in Algeria*

*Kouba - Alger*
*mobile: +213 559 859 858 |  **email: me@kacemb.com <me@kacemb.com>*
*twitter: @kacem4dz |  website: www.kacemb.com <http://www.kacemb.com>*
  <https://www.facebook.com/KacemRostomBoukraa>
<https://plus.google.com/u/0/+KacemBOUKRAA>
<https://www.linkedin.com/profile/view?id=177866682>
<https://twitter.com/kacem4dz>

Mime
View raw message