{"action":"closed","issue":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/174","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/174/comments","events_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/174/events","html_url":"https://github.com/awslabs/aws-sdk-go/issues/174","id":65903044,"number":174,"title":"SQS: ReceiveMessage's MaxNumberOfMessages not working","user":{"login":"iyee","id":88564,"avatar_url":"https://avatars.githubusercontent.com/u/88564?v=3","gravatar_id":"","url":"https://api.github.com/users/iyee","html_url":"https://github.com/iyee","followers_url":"https://api.github.com/users/iyee/followers","following_url":"https://api.github.com/users/iyee/following{/other_user}","gists_url":"https://api.github.com/users/iyee/gists{/gist_id}","starred_url":"https://api.github.com/users/iyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyee/subscriptions","organizations_url":"https://api.github.com/users/iyee/orgs","repos_url":"https://api.github.com/users/iyee/repos","events_url":"https://api.github.com/users/iyee/events{/privacy}","received_events_url":"https://api.github.com/users/iyee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-02T10:55:22Z","updated_at":"2015-04-02T23:38:11Z","closed_at":"2015-04-02T23:38:11Z","body":"demo code:\r\n```\r\nout, err := c.ReceiveMessage(&sqs.ReceiveMessageInput{\r\n\t\tQueueURL:            aws.String(url),\r\n\t\tMaxNumberOfMessages: &10,\r\n\t})\r\n```\r\nalways fetch only 2 messages back, no matter what num I configured & queue had plenty unconsumed msgs left."}}