A broker which uses MQTT as the protocol to connect to any publisher / subscriber that connects to its endpoint. It also uses redis as a backend cache store, so it will need redis running somewhere either in the same cluster or provide a redis endpoint it can connect to. While we can support MongoDB / Kafka that work is not just done yet, PRs welcome !
This is completely dockerized and we encourage you to use the docker image to run it. The docker image is available at - https://hub.docker.com/r/souranilsbu/vegeta/
.
If you want to deploying it in a Kubernetes cluster, the scripts for its service and deployment is available in the folder - kube/configs/
.
You can use https://github.com/sladebot/trunks
or any MQTT complaint client to connect to the endpoint where you have deployed your broker. If its behind a Load Balancer you can just connect to it using a TCP connection.
Personally I've used the LoadBalancer
which Kubernetes provides. For that you need to expose the vegeta-service as an external service, the script to do that is at - https://github.com/sladebot/vegeta/blob/master/kube/configs/expose-vegeta.sh
.