{"action":"created","issue":{"url":"https://api.github.com/repos/graze/queue/issues/14","labels_url":"https://api.github.com/repos/graze/queue/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/graze/queue/issues/14/comments","events_url":"https://api.github.com/repos/graze/queue/issues/14/events","html_url":"https://github.com/graze/queue/issues/14","id":97537055,"number":14,"title":"Support for PurgeQueue","user":{"login":"mathieupinet","id":637791,"avatar_url":"https://avatars.githubusercontent.com/u/637791?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieupinet","html_url":"https://github.com/mathieupinet","followers_url":"https://api.github.com/users/mathieupinet/followers","following_url":"https://api.github.com/users/mathieupinet/following{/other_user}","gists_url":"https://api.github.com/users/mathieupinet/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieupinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieupinet/subscriptions","organizations_url":"https://api.github.com/users/mathieupinet/orgs","repos_url":"https://api.github.com/users/mathieupinet/repos","events_url":"https://api.github.com/users/mathieupinet/events{/privacy}","received_events_url":"https://api.github.com/users/mathieupinet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graze/queue/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/graze/queue/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"sjparkinson","id":51677,"avatar_url":"https://avatars.githubusercontent.com/u/51677?v=3","gravatar_id":"","url":"https://api.github.com/users/sjparkinson","html_url":"https://github.com/sjparkinson","followers_url":"https://api.github.com/users/sjparkinson/followers","following_url":"https://api.github.com/users/sjparkinson/following{/other_user}","gists_url":"https://api.github.com/users/sjparkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/sjparkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjparkinson/subscriptions","organizations_url":"https://api.github.com/users/sjparkinson/orgs","repos_url":"https://api.github.com/users/sjparkinson/repos","events_url":"https://api.github.com/users/sjparkinson/events{/privacy}","received_events_url":"https://api.github.com/users/sjparkinson/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-27T19:25:36Z","updated_at":"2015-07-29T16:14:45Z","closed_at":null,"body":"Is there a plan to have support for the PurgeQueue() SQS API call to delete all messages in a queue?"},"comment":{"url":"https://api.github.com/repos/graze/queue/issues/comments/126005037","html_url":"https://github.com/graze/queue/issues/14#issuecomment-126005037","issue_url":"https://api.github.com/repos/graze/queue/issues/14","id":126005037,"user":{"login":"sjparkinson","id":51677,"avatar_url":"https://avatars.githubusercontent.com/u/51677?v=3","gravatar_id":"","url":"https://api.github.com/users/sjparkinson","html_url":"https://github.com/sjparkinson","followers_url":"https://api.github.com/users/sjparkinson/followers","following_url":"https://api.github.com/users/sjparkinson/following{/other_user}","gists_url":"https://api.github.com/users/sjparkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/sjparkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjparkinson/subscriptions","organizations_url":"https://api.github.com/users/sjparkinson/orgs","repos_url":"https://api.github.com/users/sjparkinson/repos","events_url":"https://api.github.com/users/sjparkinson/events{/privacy}","received_events_url":"https://api.github.com/users/sjparkinson/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T16:14:45Z","updated_at":"2015-07-29T16:14:45Z","body":"Clearing / purging a queue seems to be a generally supported feature for messaging systems.\r\n\r\nI'm up for implementing this. Initial thoughts:\r\n\r\n* Add `public function purge();` to `AdapterInterface`\r\n* Add `public function purge();` to `ProducterInterface`\r\n* Add a `UnsupportedOperationException` for adapters that may not support this feature"}}