In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
I. profile
Moquette is a Java version of the broker implementation of the mqtt protocol.
Github source code: https://github.com/andsel/moquette
Google moquette group: https://groups.google.com/forum/#! forum/moquette-mqtt
There are a lot of people discussing moquette(need to ×× and log in to google account, and need to submit a group application)
II. clone source code
Go to Github and clone it.
III. compilation
Go to source code root directory and execute mvn clean package
You may need to install maven first.
IV. run
1. Decompress the compressed file generated after compilation
The generated zip file is located under: source directory/distribution/target/
2. Configure MOQUETTE_HOME as an environment variable, and the path is the decompression directory of your compiled files, such as:
MOQUETTE_HOME=/Users/huangrongwei/Documents/0_backup_program/moquette/distribution-0.11-SNAPSHOT-bundle-tar
3. cd $MOQUETTE_HOME
4. ./ bin/moquette.sh (run moquette.bat under bin directory under windows)
v. test
Open mqtt test client, I use eclipse paho client under windows
Establish connection, http://ip address:1883
Subscribe to topic
Another connection sends a topic to verify that it can be received
vi. change
Moquette authors have recently updated the maven compilation to gradle compilation.
Compile method to see the README.md file in the root directory of the source code
After compilation, there is a tar file generated in the distribution/build directory, which can be decompressed and executed.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.