hmq
hmq copied to clipboard
Question about shutting down broker gracefully
@chowyu08 @MarcMagnin As the title, how to handle the broker shutdown/restart? The alive clients need to be notified one by one?
thanks
我也是同样问题,都考虑换框架了。
@svija 你现在还在使用这个框架吗?go写的mqtt框架 我并没有找到比较全而且好的
I'd really like to see a broker.Stop() method in addition to the currently-existing broker.Start() method. It's easy to implement and I volunteer to do the work....if only I can get contributor access to this repo. My need stems from the fact I'm using hmq for testing and linking it directly into xxx_test.go files, though I can work around the lack of a broker.Stop() by starting the broker only once per test run via a TestMain()
Thanks for the interest you have into this project. [email protected] will be able to provide a contributor access, please get in touch with him.