MQTTX
MQTTX copied to clipboard
[Feature] Independent payload and topic per connection
Motivation
Payload follows individual topic.
Detailed design
When multiple messages are created, the payload changes,
The payload of A is $v1/123/ POST, and the payload of B is $v1/456/ POST. The payload of A is the payload of A. The payload of B is the payload of B .
@000xiaoxiao000 Good idea! Maybe we should reflect on what kind of historical message settings are reasonable. We can make historical news
- History messages are followed by the connection's send history.
- History messages are more with the send history. (current)
- History messages are sent history with the current topic. (you expect)
maybe we could review this design.
@000xiaoxiao000 Thanks for your feedback. I understand what you mean by the screenshot, I think the payload and topic of each connection should be independent, similar to IM software where each chat message should be different, right?
@000xiaoxiao000感谢您的反馈。我明白你的截图是什么意思,我认为每个连接的payload和topic应该是独立的,类似于IM软件,每个聊天消息应该不同,对吧?
yes.