This repository contains the materials used during my presentation "High performance message brokers out of the IoT world" at TechSummit 2018 in Munich. Content:
- Emqtt broker configured to to manager ~1mil connections per node
- SpringBoot based project for a sample java MqttProducer and MqttConsumer (made using SpringIntegration and Paho)
- Slides used in the talk
Download EMQ 2.x Docker Image:
http://emqtt.com/downloads/latest/docker
Unzip emqttd-docker image:
unzip emqttd-docker-v2.x.zip
Load Docker Image:
docker load < emqttd-docker-v2.x
Run the Container:
docker run -tid --name emq20 -p 1883:1883 -p 8083:8083 -p 8883:8883 -p 8084:8084 -p 18083:18083 emqttd-docker-v2.x
Stop the broker:
docker stop emq20
Start the broker:
docker start emq20
Enter the running container:
docker exec -it emq20 /bin/sh
Credentials for the management app:
user: admin
password: public
Load HTTP Auth/ACL Plugin:
/opt/emqttd/bin/emqttd_ctl plugins load emq_auth_http
Unload HTTP Auth/ACL Plugin:
/opt/emqttd/bin/emqttd_ctl plugins unload emq_auth_http
The samples in the project have been built using Spring Boot 2.x and Spring (Integration) 5.x
- MqttProducer - contains the basic configuration for a producer using the Paho mqtt client within a Spring Boot Integration app
- MqttSubscriber - same as above for a subscriber
https://docs.google.com/presentation/d/1uArweWW-BOPmYOQSZ0tvfSDzawBEMPqCD0rBNn2pw8M/edit?usp=sharing