{"action":"created","issue":{"url":"https://api.github.com/repos/emqx/emqx/issues/1560","repository_url":"https://api.github.com/repos/emqx/emqx","labels_url":"https://api.github.com/repos/emqx/emqx/issues/1560/labels{/name}","comments_url":"https://api.github.com/repos/emqx/emqx/issues/1560/comments","events_url":"https://api.github.com/repos/emqx/emqx/issues/1560/events","html_url":"https://github.com/emqx/emqx/issues/1560","id":313626389,"node_id":"MDU6SXNzdWUzMTM2MjYzODk=","number":1560,"title":"Feature Request - send only once for overlapped subscriptions","user":{"login":"Zhang-Xianglong","id":25277179,"node_id":"MDQ6VXNlcjI1Mjc3MTc5","avatar_url":"https://avatars1.githubusercontent.com/u/25277179?v=4","gravatar_id":"","url":"https://api.github.com/users/Zhang-Xianglong","html_url":"https://github.com/Zhang-Xianglong","followers_url":"https://api.github.com/users/Zhang-Xianglong/followers","following_url":"https://api.github.com/users/Zhang-Xianglong/following{/other_user}","gists_url":"https://api.github.com/users/Zhang-Xianglong/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhang-Xianglong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhang-Xianglong/subscriptions","organizations_url":"https://api.github.com/users/Zhang-Xianglong/orgs","repos_url":"https://api.github.com/users/Zhang-Xianglong/repos","events_url":"https://api.github.com/users/Zhang-Xianglong/events{/privacy}","received_events_url":"https://api.github.com/users/Zhang-Xianglong/received_events","type":"User","site_admin":false},"labels":[{"id":22388529,"node_id":"MDU6TGFiZWwyMjM4ODUyOQ==","url":"https://api.github.com/repos/emqx/emqx/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":{"login":"terry-xiaoyu","id":11696433,"node_id":"MDQ6VXNlcjExNjk2NDMz","avatar_url":"https://avatars1.githubusercontent.com/u/11696433?v=4","gravatar_id":"","url":"https://api.github.com/users/terry-xiaoyu","html_url":"https://github.com/terry-xiaoyu","followers_url":"https://api.github.com/users/terry-xiaoyu/followers","following_url":"https://api.github.com/users/terry-xiaoyu/following{/other_user}","gists_url":"https://api.github.com/users/terry-xiaoyu/gists{/gist_id}","starred_url":"https://api.github.com/users/terry-xiaoyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terry-xiaoyu/subscriptions","organizations_url":"https://api.github.com/users/terry-xiaoyu/orgs","repos_url":"https://api.github.com/users/terry-xiaoyu/repos","events_url":"https://api.github.com/users/terry-xiaoyu/events{/privacy}","received_events_url":"https://api.github.com/users/terry-xiaoyu/received_events","type":"User","site_admin":false},"assignees":[{"login":"terry-xiaoyu","id":11696433,"node_id":"MDQ6VXNlcjExNjk2NDMz","avatar_url":"https://avatars1.githubusercontent.com/u/11696433?v=4","gravatar_id":"","url":"https://api.github.com/users/terry-xiaoyu","html_url":"https://github.com/terry-xiaoyu","followers_url":"https://api.github.com/users/terry-xiaoyu/followers","following_url":"https://api.github.com/users/terry-xiaoyu/following{/other_user}","gists_url":"https://api.github.com/users/terry-xiaoyu/gists{/gist_id}","starred_url":"https://api.github.com/users/terry-xiaoyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terry-xiaoyu/subscriptions","organizations_url":"https://api.github.com/users/terry-xiaoyu/orgs","repos_url":"https://api.github.com/users/terry-xiaoyu/repos","events_url":"https://api.github.com/users/terry-xiaoyu/events{/privacy}","received_events_url":"https://api.github.com/users/terry-xiaoyu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-12T08:31:04Z","updated_at":"2018-09-29T06:01:44Z","closed_at":"2018-09-10T09:46:51Z","author_association":"NONE","body":"#### Environment\r\n\r\n- OS: CentOS 6.9\r\n- Erlang/OTP: \r\n- EMQ: emqttd 2.2\r\n\r\n#### Description\r\n\r\n*A description of the issue*\r\n\r\nMQTT-3.3.5-1\r\n> When Clients make subscriptions with Topic Filters that include wildcards, it is possible for a Client’s subscriptions to overlap so that a published message might match multiple filters. In this case the Server MUST deliver the message to the Client respecting the maximum QoS of all the matching subscriptions [MQTT-3.3.5-1]. In addition, the Server ***MAY*** deliver further copies of the message, one for each additional matching subscription and respecting the subscription’s QoS in each case.\r\n\r\nThe standard uses MAY. I used the emqttd 2.2 version test and found that the client received duplicate messages when matching multiple topic filters. Is it possible to configure this feature to disable and just sending a matching message with the highest QoS?\r\n"},"comment":{"url":"https://api.github.com/repos/emqx/emqx/issues/comments/425619040","html_url":"https://github.com/emqx/emqx/issues/1560#issuecomment-425619040","issue_url":"https://api.github.com/repos/emqx/emqx/issues/1560","id":425619040,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTYxOTA0MA==","user":{"login":"Gilbert-Wong","id":20479699,"node_id":"MDQ6VXNlcjIwNDc5Njk5","avatar_url":"https://avatars0.githubusercontent.com/u/20479699?v=4","gravatar_id":"","url":"https://api.github.com/users/Gilbert-Wong","html_url":"https://github.com/Gilbert-Wong","followers_url":"https://api.github.com/users/Gilbert-Wong/followers","following_url":"https://api.github.com/users/Gilbert-Wong/following{/other_user}","gists_url":"https://api.github.com/users/Gilbert-Wong/gists{/gist_id}","starred_url":"https://api.github.com/users/Gilbert-Wong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gilbert-Wong/subscriptions","organizations_url":"https://api.github.com/users/Gilbert-Wong/orgs","repos_url":"https://api.github.com/users/Gilbert-Wong/repos","events_url":"https://api.github.com/users/Gilbert-Wong/events{/privacy}","received_events_url":"https://api.github.com/users/Gilbert-Wong/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T06:01:44Z","updated_at":"2018-09-29T06:01:44Z","author_association":"CONTRIBUTOR","body":"You should design your topic filter yourself to control this or contact @zhengyupan for further support in enterprise edition of emqx."}}
{"actor":{"display_login":"Gilbert-Wong"}}