Open dustin opened 1 year ago
Hi, sorry I'm late in replying. As I understand it, your mean it should eventually show the topic from which this message was received, right?
It should always show the topic. If it receives an empty topic with no known alias, there's a state mismatch between the client and the broker and he connection should be dropped. Otherwise, the client does know the topic and should display it.
What did I do
Subscribed to topics with an alias limit set to request the broker to alias messages to the same topic.
This does require a broker that supports aliases, which I don't believe mosquitto does.
What happened
After the first message (establishing the aliases), subsequent messages don't properly report the topic.
Expected
If a message doesn't contain a topic, but contains an alias reference, then the alias should be dereferenced and the topic displayed.
Environment
Details
Subbed to
tmp/#
onbroker.emqx.io
and sent two messages:Compare to the output of my client subscribed at the same time: