{"action":"created","issue":{"url":"https://api.github.com/repos/mcollina/mosca/issues/519","repository_url":"https://api.github.com/repos/mcollina/mosca","labels_url":"https://api.github.com/repos/mcollina/mosca/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/mcollina/mosca/issues/519/comments","events_url":"https://api.github.com/repos/mcollina/mosca/issues/519/events","html_url":"https://github.com/mcollina/mosca/issues/519","id":165184523,"number":519,"title":"Unique identifier for clients?","user":{"login":"afrozl","id":6628282,"avatar_url":"https://avatars.githubusercontent.com/u/6628282?v=3","gravatar_id":"","url":"https://api.github.com/users/afrozl","html_url":"https://github.com/afrozl","followers_url":"https://api.github.com/users/afrozl/followers","following_url":"https://api.github.com/users/afrozl/following{/other_user}","gists_url":"https://api.github.com/users/afrozl/gists{/gist_id}","starred_url":"https://api.github.com/users/afrozl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afrozl/subscriptions","organizations_url":"https://api.github.com/users/afrozl/orgs","repos_url":"https://api.github.com/users/afrozl/repos","events_url":"https://api.github.com/users/afrozl/events{/privacy}","received_events_url":"https://api.github.com/users/afrozl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T21:22:55Z","updated_at":"2016-07-12T22:16:58Z","closed_at":"2016-07-12T22:16:58Z","body":"I am using collectd to forward messages to mosca. The client id set by collectd defaults to the hostname or can be manually set. Is there a unique identifier that mosca server assigns to each connection? I need this to ensure that clients don't end up stepping on each other. There is always the possibility that 2 clients/hosts might have the same name...\r\n\r\nIf each connection has a unique identifier, I can prepend that to the topic to endure that no collisions occur."},"comment":{"url":"https://api.github.com/repos/mcollina/mosca/issues/comments/232198910","html_url":"https://github.com/mcollina/mosca/issues/519#issuecomment-232198910","issue_url":"https://api.github.com/repos/mcollina/mosca/issues/519","id":232198910,"user":{"login":"mcollina","id":52195,"avatar_url":"https://avatars.githubusercontent.com/u/52195?v=3","gravatar_id":"","url":"https://api.github.com/users/mcollina","html_url":"https://github.com/mcollina","followers_url":"https://api.github.com/users/mcollina/followers","following_url":"https://api.github.com/users/mcollina/following{/other_user}","gists_url":"https://api.github.com/users/mcollina/gists{/gist_id}","starred_url":"https://api.github.com/users/mcollina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcollina/subscriptions","organizations_url":"https://api.github.com/users/mcollina/orgs","repos_url":"https://api.github.com/users/mcollina/repos","events_url":"https://api.github.com/users/mcollina/events{/privacy}","received_events_url":"https://api.github.com/users/mcollina/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T22:16:58Z","updated_at":"2016-07-12T22:16:58Z","body":"If you don't specify an id, Mosca will automatically generate one for you. However, this will be private. Either you generate a unique id on the collectd side, or you allow multiple instances to publish on the same topic."}}
{"actor":{"display_login":"mcollina"}}