Communication between Apache NiFi and iOT sensors

0 votes

I am noob at Apache Nifi.

I am having a use case where I need to parse and decode different kind of messages from sensors then transform and load the data in Hbase. 

All my sensors send data every 10 minutes through an API via a post request. Now,what I have done is a service with JAVA that listen on a specific port and do all the ETL dataflow.

 Any idea how can I use Apache Nifi for this use case ?

Oct 8, 2018 in IoT (Internet of Things) by Matt
• 2,270 points
1,478 views

1 answer to this question.

0 votes

Your use case sounds like the kind of data flow NiFi was built to handle, and NiFi has specific capabilities you will want. NiFi has several processors that can help you implement an HTTP web service.

  • ListenHTTP - Simple receive from HTTP to a flowfile via POST.

  • HandleHttpRequest and HandleHttpResponse - Combination of processors for better control of HTTP verbs and response codes based on the processing the flowfile.

NiFi also has processors for working with HBase, especially PutHBaseJSON for inserting JSON source data into HBase.

In addition to these specific processors, NiFi has many processors for shaping and routing your data. I recommend looking at some of the Example Dataflow Templates, some appear directly relevant to your case:

answered Oct 8, 2018 by anonymous2
• 4,280 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Difference between MQTT and Apache- kafka

MQTT is a standard protocol (with many ...READ MORE

answered Aug 31, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,732 views
0 votes
1 answer
0 votes
1 answer

Downloading source code of Android Things

No because AndroidThings is still in preview ...READ MORE

answered Jul 5, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,553 views
0 votes
1 answer

Creating Android Things' bundle and pushing it over OTA

Here are all the steps necessary to ...READ MORE

answered Jul 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
511 views
0 votes
1 answer

AWS IoT - Access shadow through .Net, REST, with certificate

If you want to publish and/or subscribe ...READ MORE

answered Jul 25, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,818 views
0 votes
1 answer

Android AllJoyn: Connection with second machine gives error of BusAttachement

Why dont you create two Interfaces, one ...READ MORE

answered Jul 25, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
549 views
0 votes
1 answer
0 votes
1 answer

Faster communication between two ESP8266 in client-server setup

Try following. Server loop void loop() { // ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
6,560 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP