{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/hono/issues/565","repository_url":"https://api.github.com/repos/eclipse/hono","labels_url":"https://api.github.com/repos/eclipse/hono/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/hono/issues/565/comments","events_url":"https://api.github.com/repos/eclipse/hono/issues/565/events","html_url":"https://github.com/eclipse/hono/issues/565","id":312890958,"number":565,"title":"Protocol connection events","user":{"login":"ctron","id":202474,"avatar_url":"https://avatars0.githubusercontent.com/u/202474?v=4","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false},"labels":[{"id":844790049,"url":"https://api.github.com/repos/eclipse/hono/labels/EclipseInt","name":"EclipseInt","color":"e2ad44","default":false},{"id":525773890,"url":"https://api.github.com/repos/eclipse/hono/labels/MQTT%20Adapter","name":"MQTT Adapter","color":"e99695","default":false},{"id":323160608,"url":"https://api.github.com/repos/eclipse/hono/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"ctron","id":202474,"avatar_url":"https://avatars0.githubusercontent.com/u/202474?v=4","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false},"assignees":[{"login":"ctron","id":202474,"avatar_url":"https://avatars0.githubusercontent.com/u/202474?v=4","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/eclipse/hono/milestones/12","html_url":"https://github.com/eclipse/hono/milestone/12","labels_url":"https://api.github.com/repos/eclipse/hono/milestones/12/labels","id":2955636,"number":12,"title":"0.6","description":"https://projects.eclipse.org/projects/iot.hono/releases/0.6","creator":{"login":"sophokles73","id":5682135,"avatar_url":"https://avatars1.githubusercontent.com/u/5682135?v=4","gravatar_id":"","url":"https://api.github.com/users/sophokles73","html_url":"https://github.com/sophokles73","followers_url":"https://api.github.com/users/sophokles73/followers","following_url":"https://api.github.com/users/sophokles73/following{/other_user}","gists_url":"https://api.github.com/users/sophokles73/gists{/gist_id}","starred_url":"https://api.github.com/users/sophokles73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophokles73/subscriptions","organizations_url":"https://api.github.com/users/sophokles73/orgs","repos_url":"https://api.github.com/users/sophokles73/repos","events_url":"https://api.github.com/users/sophokles73/events{/privacy}","received_events_url":"https://api.github.com/users/sophokles73/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":28,"state":"open","created_at":"2017-12-04T11:14:50Z","updated_at":"2018-05-04T12:40:12Z","due_on":"2018-05-14T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-04-10T11:58:53Z","updated_at":"2018-05-04T12:40:12Z","closed_at":"2018-05-04T12:40:11Z","author_association":"CONTRIBUTOR","body":"In addition to the device notification functionality, we discussed in Berlin that we do need some kind event which notifies of the fact that \"someone\" (not necessarily a device) connected.\r\n\r\nThis would be a more \"debug\" like event and might not make sense for all protocol adapters. It may however make sense for MQTT, where a connection can be successfully established and be kept open for a longer period of time. This might be useful when the device/gateway connections successfully, but doesn't transmit any data over the MQTT link.\r\n\r\nThe same might be useful for the (hopefully) upcoming AMQP protocol adapter.\r\n\r\nThis functionality should not be seen as a replacement for the \"device notification\" feature currently being discussed in #562, #535 and #537.\r\n\r\n---\r\n\r\nMy proposal would be to start with an interface which being called to handle those events. Providing a \"logging only\" implementation.\r\n\r\n---\r\n\r\nI tried to re-cap in this issue the discussion we had in the last Hono call, splitting off the \"device notification\" we need for command & control, vs the MQTT connection notification event we need for better debugging."},"comment":{"url":"https://api.github.com/repos/eclipse/hono/issues/comments/386588836","html_url":"https://github.com/eclipse/hono/issues/565#issuecomment-386588836","issue_url":"https://api.github.com/repos/eclipse/hono/issues/565","id":386588836,"user":{"login":"ctron","id":202474,"avatar_url":"https://avatars0.githubusercontent.com/u/202474?v=4","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T12:40:11Z","updated_at":"2018-05-04T12:40:11Z","author_association":"CONTRIBUTOR","body":"Closed by PR #569 "}}
{"actor":{"display_login":"ctron"}}