这个要找支持windows的服务程序包吧。在https://github.com/mqtt/mqtt.github.io/wiki/servers
中找支持win的就好啦。
教程在这里:
https://blog.csdn.net/sky_dsy/article/details/78912461