emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.59k stars 418 forks source link

support public message with own message id #375

Closed tuntdl3 closed 2 years ago

tuntdl3 commented 3 years ago

Hello, Please help me review this pull request. In this pull request, I did

JaylinYu commented 2 years ago

I am afraid this is not a good idea to set msg id manually. But I agree that programmers might need a debugging method to set id for testing. However, this should not be provided as a formal API.