Giter VIP home page Giter VIP logo

mqtt-elasticsearch-forwarding's Introduction

MQTT to ElasticSearch Forwarder

This represents a collection of applications in various languages which do the same thing: Forward incoming messages from an MQTT broker to an ElasticSearch instance.

The point is trying to determine:

  • How easy is it to implement in a given language
  • How well does the solution perform under load

Docker

The infrastructure components (MQTT broker, ES instance, application) are always deployed and run in docker containers. To this end, each project provides a docker-compose.yml which can be used to start the scenario with docker-compose up -d (for example) and then you can track the progress with docker-compose logs -f.

Scaling the producer to increase load

You can start multiple producer containers in order to increase the number of messages being sent to the MQTT broker by using:

docker-compose scale producer=5

It's best to chain the commands when starting the scenario, e.g.:

docker-compose up -d ; docker-compose scale producer=5 ; docker-compose logs -f watchdog

Groovy

See the Groovy subproject.

Python

See the Python subproject.

JEE / Payara Micro

See the Payara Micro subproject.

Spring Boot

See the Spring Boot subproject.

Node.js

See the Node.js subproject.

Producer

See the producer subproject.

Watchdog

See the watchdog subproject.

mqtt-elasticsearch-forwarding's People

Contributors

clive-jevons avatar mjaeckle avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

mqtt-elasticsearch-forwarding's Issues

Python code stops forwarding messages

I am using the Python code to forward the MQTT messages to ES server. Some time the code stop forwarding and stays in while: True loop inside class App. When I checked for MQTT messages by subscribing from other terminal, it shows the incoming messages. It recovers only when I restart the code.

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.