docker run --name redis-usdb -p "yourPort":6379 -d redisto connect redis to port "yourPort".
("yourPort" is set to 8282 by default, but if you want to change it, change redisPort in config.json)
Broker will be use port 8080 by default, to change it go to file config.json.
build and run main.go file(
go run main.go) to start the app.
Go to publisher package and run
go run publish.go(to start the publisher for broker).
Testing each part
You can go to each package and run
go test to test that specefic part,
also there is an integration test in cmd package which check connection between different parts.