{"action":"created","issue":{"url":"https://api.github.com/repos/emqx/emqx/issues/1881","repository_url":"https://api.github.com/repos/emqx/emqx","labels_url":"https://api.github.com/repos/emqx/emqx/issues/1881/labels{/name}","comments_url":"https://api.github.com/repos/emqx/emqx/issues/1881/comments","events_url":"https://api.github.com/repos/emqx/emqx/issues/1881/events","html_url":"https://github.com/emqx/emqx/issues/1881","id":366633995,"node_id":"MDU6SXNzdWUzNjY2MzM5OTU=","number":1881,"title":"Exposing GUID to the consumers? ","user":{"login":"SergeyZSpb","id":7829460,"node_id":"MDQ6VXNlcjc4Mjk0NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/7829460?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeyZSpb","html_url":"https://github.com/SergeyZSpb","followers_url":"https://api.github.com/users/SergeyZSpb/followers","following_url":"https://api.github.com/users/SergeyZSpb/following{/other_user}","gists_url":"https://api.github.com/users/SergeyZSpb/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyZSpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyZSpb/subscriptions","organizations_url":"https://api.github.com/users/SergeyZSpb/orgs","repos_url":"https://api.github.com/users/SergeyZSpb/repos","events_url":"https://api.github.com/users/SergeyZSpb/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyZSpb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T06:01:22Z","updated_at":"2018-10-07T13:48:12Z","closed_at":null,"author_association":"NONE","body":"Hi! As it stated in MQTT standard, clients get packetId which is not a GUID. Inside EMQ, there is GUID assigned to messages. \r\n\r\nIt is possible to somehow expose the GUID generated inside distributed EMQ to consumers (for instance, if the logical client is itself distributed and we would like to achieve exactly once semantics without message duplication)? Could you please direct me to the hook or plugin spi I may use for this? Or a place I may take a look at for the later commit and pull request? \r\n\r\nDoes enterprise edition provide any solutions for easier building publishers<->dirtibutedEMQ<->distributed consumer kinda system?\r\n\r\nThanks a lot!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/emqx/emqx/issues/comments/427654990","html_url":"https://github.com/emqx/emqx/issues/1881#issuecomment-427654990","issue_url":"https://api.github.com/repos/emqx/emqx/issues/1881","id":427654990,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzY1NDk5MA==","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-10-07T13:48:12Z","updated_at":"2018-10-07T13:48:12Z","author_association":"CONTRIBUTOR","body":"Sorry for late respond, and I really don't understand what you mean. Inside EMQ, guid is used to generate a client id ,not packet id. The prerequisite you give is wrong."}}
{"actor":{"display_login":"Gilbert-Wong"}}