MQTTX icon indicating copy to clipboard operation
MQTTX copied to clipboard

[Feature] Independent payload and topic per connection

Open 000xiaoxiao000 opened this issue 3 years ago • 4 comments

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 avatar Feb 09 '22 10:02 000xiaoxiao000

@000xiaoxiao000 Good idea! Maybe we should reflect on what kind of historical message settings are reasonable. We can make historical news

  1. History messages are followed by the connection's send history.
  2. History messages are more with the send history. (current)
  3. History messages are sent history with the current topic. (you expect)

maybe we could review this design.

oceanlvr avatar Feb 10 '22 01:02 oceanlvr

image image

000xiaoxiao000 avatar Feb 10 '22 06:02 000xiaoxiao000

@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?

ysfscream avatar Feb 11 '22 05:02 ysfscream

@000xiaoxiao000感谢您的反馈。我明白你的截图是什么意思,我认为每个连接的payload和topic应该是独立的,类似于IM软件,每个聊天消息应该不同,对吧?

yes.

000xiaoxiao000 avatar Feb 11 '22 05:02 000xiaoxiao000