{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/issues/107","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/issues/107/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/issues/107/events","html_url":"https://github.com/rabbitmq/rabbitmq-mqtt/pull/107","id":193520413,"number":107,"title":"A CLI command to list mqtt connections","user":{"login":"hairyhum","id":784180,"avatar_url":"https://avatars.githubusercontent.com/u/784180?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhum","html_url":"https://github.com/hairyhum","followers_url":"https://api.github.com/users/hairyhum/followers","following_url":"https://api.github.com/users/hairyhum/following{/other_user}","gists_url":"https://api.github.com/users/hairyhum/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhum/subscriptions","organizations_url":"https://api.github.com/users/hairyhum/orgs","repos_url":"https://api.github.com/users/hairyhum/repos","events_url":"https://api.github.com/users/hairyhum/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"assignees":[{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-12-05T14:59:51Z","updated_at":"2016-12-06T12:18:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/pulls/107","html_url":"https://github.com/rabbitmq/rabbitmq-mqtt/pull/107","diff_url":"https://github.com/rabbitmq/rabbitmq-mqtt/pull/107.diff","patch_url":"https://github.com/rabbitmq/rabbitmq-mqtt/pull/107.patch"},"body":"Part of https://github.com/rabbitmq/rabbitmq-cli/issues/121\r\n\r\nListing in parallel using `emitting_map_with_exit_handler` and `RpcStream`."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/issues/comments/265136423","html_url":"https://github.com/rabbitmq/rabbitmq-mqtt/pull/107#issuecomment-265136423","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-mqtt/issues/107","id":265136423,"user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T12:18:34Z","updated_at":"2016-12-06T12:18:34Z","body":"I'm getting an exception with 1 open MQTT connection and 1 open Bunny connection:\r\n\r\n```\r\n./scripts/rabbitmqctl list_mqtt_connections\r\nListing MQTT connections ...\r\nError:\r\nfunction_clause\r\n Stacktrace [{lists,map,\r\n                 [[<<\"client_id\">>,<<\"conn_name\">>],\r\n                  #Fun<Elixir.RabbitMQ.CLI.Ctl.Commands.ListMqttConnectionsCommand.0.63307608>],\r\n                 [{file,\"lists.erl\"},{line,1238}]},\r\n             {'Elixir.RabbitMQ.CLI.Ctl.Commands.ListMqttConnectionsCommand',\r\n                 run,2,\r\n                 [{file,\r\n                      \"src/Elixir.RabbitMQ.CLI.Ctl.Commands.ListMqttConnectionsCommand.erl\"},\r\n                  {line,57}]},\r\n             {'Elixir.RabbitMQCtl',maybe_run_command,3,\r\n                 [{file,\"lib/rabbitmqctl.ex\"},{line,140}]},\r\n             {'Elixir.RabbitMQCtl','-main/1-fun-0-',5,\r\n                 [{file,\"lib/rabbitmqctl.ex\"},{line,49}]},\r\n             {'Elixir.RabbitMQCtl',main,1,\r\n                 [{file,\"lib/rabbitmqctl.ex\"},{line,48}]},\r\n             {'Elixir.Kernel.CLI','-exec_fun/2-fun-0-',3,\r\n                 [{file,\"lib/kernel/cli.ex\"},{line,76}]}]\r\n```"}}
{"actor":{"display_login":"michaelklishin"}}