This is demo for display mqtt cluster
initialize terraform module
$ terraform init
set up enviroment on kind cluster, include istio and hivemq.
$ terraform apply -auto-approve
run examles
- for publish
$ cd example/publish && go run main.go
- for subscribe
$ cd examples/subscribe && go run main.go
for destroy
$ terraform destroy -auto-approve