{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-iot-device-sdk-embedded-C/issues/83","repository_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-embedded-C","labels_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-embedded-C/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-embedded-C/issues/83/comments","events_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-embedded-C/issues/83/events","html_url":"https://github.com/aws/aws-iot-device-sdk-embedded-C/issues/83","id":221107123,"number":83,"title":"Updating thing shadows in different AWS regions not working","user":{"login":"kennu","id":13944,"avatar_url":"https://avatars0.githubusercontent.com/u/13944?v=3","gravatar_id":"","url":"https://api.github.com/users/kennu","html_url":"https://github.com/kennu","followers_url":"https://api.github.com/users/kennu/followers","following_url":"https://api.github.com/users/kennu/following{/other_user}","gists_url":"https://api.github.com/users/kennu/gists{/gist_id}","starred_url":"https://api.github.com/users/kennu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennu/subscriptions","organizations_url":"https://api.github.com/users/kennu/orgs","repos_url":"https://api.github.com/users/kennu/repos","events_url":"https://api.github.com/users/kennu/events{/privacy}","received_events_url":"https://api.github.com/users/kennu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-11T23:15:15Z","updated_at":"2017-04-11T23:15:15Z","closed_at":null,"body":"I'm trying to connect to three different AWS regions and update a thing shadow in each of them. \r\n\r\nThis seems to work fine at first when calling `aws_iot_shadow_init()` and `aws_iot_shadow_connect()` to create each MQTT client. But then, when calling `aws_iot_shadow_update()`, all updates are actually going to the MQTT client that was created last.\r\n\r\nLooking at https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/8aa5c18efe9efacb28425beec8ddbb5dfdbd2fcb/src/aws_iot_shadow_records.c it seems like the library is overwriting any previous MQTT client and only keeping a reference to the latest one. Is this done on purpose?"}}
{"actor":{"display_login":"kennu"}}