Coder Social home page Coder Social logo

ppatierno / enmasse-iot-demo Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 6.0 933 KB

EnMasse - IoT demo

License: Apache License 2.0

Shell 15.27% Java 84.73%
spark spark-streaming-jobs kubernetes-cluster openshift-cluster minikube iot internet-of-things messaging kafka kafka-streams

enmasse-iot-demo's Introduction

This repository contains all the bits for setting up the demo of the "Open sourcing the IoT : running EnMasse on Kubernetes" session at "Industry 4.0 & AgileIoT" by Paolo Patierno. Other than the source code following :

EnMasse - IoT demo

This demo shows how it's possible to use a Kubernetes or OpenShift cluster running EnMasse and Apache Spark in order to have a way for ingesting data through a scalable messaging infrastructure and then processing such data using Spark Streaming jobs or Kafka Streams API. The proposed IoT scenario is made of :

  • an AMQP publisher which sends simulated temperature values to a temperature address (backed by a queue or a Kafka topic)
  • a Spark Streaming driver application which reads above values in order to process the maximum value in the latest 5 seconds, sending the processed value to a max address (backed by a queue or a Kafka topic)
  • an AMQP receiver which gets filtered maximum temperature values reading from the max address

The following pictures shows how all the above components define the overall demo deployment using Kubernetes (running inside or outsice ACS), EnMasse and Apache Spark.

Demo deployment

The same solution can be deployed on OpenShift using the Apache Spark provided by the radanalytics.io project.

Demo deployment

Finally, this picture shows the deployment using Apache Kafka for storing ingested data but always through the AMQP protocol (so using an AMQP - Kafka bridge) and then a Kafka Streams application for real time analytics.

Demo deployment

The description about the two different solutions can be found here :

enmasse-iot-demo's People

Contributors

ppatierno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.