Skip to content

Shared subscription does not respect QoS #248

Description

@lizhanhui

Messages are once they are flushed to network buffer, which does not respect MQTT QoS.
For QoS = 1, 2, messages should be acked on receipt of PubAck and PUBCOMP respectively.

} else if (subscription.isShare()) {
String lmqTopic = MixAll.LMQ_PREFIX + StringUtils.replace(message.getOriginTopic(), "/","%");
lmqQueueStore.popAck(lmqTopic, subscription.getSharedName(), message);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions