2024-04-07 10:54:47 +08:00
|
|
|
|
# socket
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
# proxy
|
|
|
|
|
|
export http_proxy=http://127.0.0.1:10818
|
|
|
|
|
|
export https_proxy=http://127.0.0.1:10818
|
|
|
|
|
|
#
|
|
|
|
|
|
# gradle dependencies
|
|
|
|
|
|
# run gradle with hot reload
|
|
|
|
|
|
# 1. open one terminal, run:
|
|
|
|
|
|
gradle build --continuous
|
|
|
|
|
|
# 2. open second terminal, run:
|
|
|
|
|
|
gradle bootRun
|
|
|
|
|
|
#
|
|
|
|
|
|
# 生成proto
|
|
|
|
|
|
gradle build
|
|
|
|
|
|
# 或
|
|
|
|
|
|
gradle generateProto
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## links
|
|
|
|
|
|
|
|
|
|
|
|
- [mqtt](https://mqtt.org/mqtt-specification/)
|
2024-04-30 09:37:49 +08:00
|
|
|
|
- [mqtt-v3.1.1](https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html)
|
2024-04-07 10:54:47 +08:00
|
|
|
|
- [netty](https://netty.io/wiki/user-guide-for-4.x.html)
|
|
|
|
|
|
- [netty mqtt](https://netty.io/4.1/api/io/netty/handler/codec/mqtt/package-summary.html)
|
|
|
|
|
|
- [netty mqtt github](https://github.com/netty/netty/tree/4.1/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt)
|
|
|
|
|
|
- [spring stomp](https://docs.spring.io/spring-framework/reference/web/websocket/stomp/overview.html)
|