Apache Nifi with IOT Sensors

Im new for Apache Nifi, and I have a use case that I need to parse and decode various messages from sensors, convert and upload data to Hbase, all my sensors send data every 10 minutes through the API via an email request, what I did on At the moment, it is a service with JAVA that listens on a specific port and executes the entire ETL data stream, any idea how I can use Apache Nifi for this use case?

+4
source share
1 answer

Your use case sounds like the NiFi data stream was built for processing, and NiFi has the specific capabilities you need. NiFi has several processors that can help you implement the HTTP web service.

  • ListenHTTP - Simple reception from HTTP to a streaming file through POST.

  • HandleHttpRequest and HandleHttpResponse - A combination of processors for better control of HTTP verbs and response codes based on stream file processing.

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

, NiFi . , :

+6

Source: https://habr.com/ru/post/1661385/


All Articles