/hivemq-demo

Primary LanguageHCLGNU General Public License v3.0GPL-3.0

hivemq-demo

This is demo for display mqtt cluster

Prerequisites

Usage

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

hivemq01