Java 17 (openjdk), Maven, RabbitMQ
The sh folder allows you to quickly launch docker commands to perform tasks
On the root folder
sh sh/buildsh sh/brokerThe service is deployed at http://localhost:5672
HTTP API / UI management is deployed at http://localhost:15672
sh sh/consumerRun java class to listen messages from the broker
sh sh/producerRun java class to send messages to the broker
docker run -d --rm -it --name "bdd"
-p 3306:3306 --net mqtt-network
-e MYSQL_ROOT_PASSWORD=root `
mysql:5.7
CREATE DATABASE Tesla; USE Tesla; CREATE TABLE teslainfo ( batterie FLOAT NOT NULL, heure VARCHAR NOT NULL, temperature FLOAT NOT NULL );