{"action":"created","comment":{"url":"https://api.github.com/repos/teamsnap/emque-producing/pulls/comments/27308935","id":27308935,"diff_hunk":"@@ -64,6 +76,10 @@ def message_type\n         self.class.read_message_type\n       end\n \n+      def raise_message_failure\n+        self.class.read_raise_message_failure","path":"lib/emque/producing/message/message.rb","position":null,"original_position":24,"commit_id":"34d91630ff38817330aed7cdc2bd767068f18359","original_commit_id":"c349829ed4b63f2516246a9ff69fd5ed2c6fbe42","user":{"login":"ryanwi","id":49515,"avatar_url":"https://avatars.githubusercontent.com/u/49515?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanwi","html_url":"https://github.com/ryanwi","followers_url":"https://api.github.com/users/ryanwi/followers","following_url":"https://api.github.com/users/ryanwi/following{/other_user}","gists_url":"https://api.github.com/users/ryanwi/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanwi/subscriptions","organizations_url":"https://api.github.com/users/ryanwi/orgs","repos_url":"https://api.github.com/users/ryanwi/repos","events_url":"https://api.github.com/users/ryanwi/events{/privacy}","received_events_url":"https://api.github.com/users/ryanwi/received_events","type":"User","site_admin":false},"body":"It does default to true in the class method: https://github.com/teamsnap/emque-producing/pull/26/files#diff-eaa13cbc2d2da6e4e638a20047ce0b4dR31","created_at":"2015-03-27T16:29:53Z","updated_at":"2015-03-27T16:29:53Z","html_url":"https://github.com/teamsnap/emque-producing/pull/26#discussion_r27308935","pull_request_url":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/teamsnap/emque-producing/pulls/comments/27308935"},"html":{"href":"https://github.com/teamsnap/emque-producing/pull/26#discussion_r27308935"},"pull_request":{"href":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26","id":31882698,"html_url":"https://github.com/teamsnap/emque-producing/pull/26","diff_url":"https://github.com/teamsnap/emque-producing/pull/26.diff","patch_url":"https://github.com/teamsnap/emque-producing/pull/26.patch","issue_url":"https://api.github.com/repos/teamsnap/emque-producing/issues/26","number":26,"state":"open","locked":false,"title":"Fixes #25 to allow non-confirmed messages","user":{"login":"ryanwi","id":49515,"avatar_url":"https://avatars.githubusercontent.com/u/49515?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanwi","html_url":"https://github.com/ryanwi","followers_url":"https://api.github.com/users/ryanwi/followers","following_url":"https://api.github.com/users/ryanwi/following{/other_user}","gists_url":"https://api.github.com/users/ryanwi/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanwi/subscriptions","organizations_url":"https://api.github.com/users/ryanwi/orgs","repos_url":"https://api.github.com/users/ryanwi/repos","events_url":"https://api.github.com/users/ryanwi/events{/privacy}","received_events_url":"https://api.github.com/users/ryanwi/received_events","type":"User","site_admin":false},"body":"In order to support use cases that need higher-throughput, and no exceptions for less critical messages, allow message confirmation to be optional.  This means messages could be dropped, but also means the application producing the message will  not fail because of a dropped message, which could be a valid use case.","created_at":"2015-03-25T00:09:27Z","updated_at":"2015-03-27T16:29:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3b4a093df57112af9f48c2fee52b6b2f6b0aaf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26/commits","review_comments_url":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26/comments","review_comment_url":"https://api.github.com/repos/teamsnap/emque-producing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamsnap/emque-producing/issues/26/comments","statuses_url":"https://api.github.com/repos/teamsnap/emque-producing/statuses/34d91630ff38817330aed7cdc2bd767068f18359","head":{"label":"teamsnap:25-optional-messages","ref":"25-optional-messages","sha":"34d91630ff38817330aed7cdc2bd767068f18359","user":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"repo":{"id":23720970,"name":"emque-producing","full_name":"teamsnap/emque-producing","owner":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamsnap/emque-producing","description":"Define and send messages to a variety of message brokers","fork":false,"url":"https://api.github.com/repos/teamsnap/emque-producing","forks_url":"https://api.github.com/repos/teamsnap/emque-producing/forks","keys_url":"https://api.github.com/repos/teamsnap/emque-producing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamsnap/emque-producing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamsnap/emque-producing/teams","hooks_url":"https://api.github.com/repos/teamsnap/emque-producing/hooks","issue_events_url":"https://api.github.com/repos/teamsnap/emque-producing/issues/events{/number}","events_url":"https://api.github.com/repos/teamsnap/emque-producing/events","assignees_url":"https://api.github.com/repos/teamsnap/emque-producing/assignees{/user}","branches_url":"https://api.github.com/repos/teamsnap/emque-producing/branches{/branch}","tags_url":"https://api.github.com/repos/teamsnap/emque-producing/tags","blobs_url":"https://api.github.com/repos/teamsnap/emque-producing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamsnap/emque-producing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamsnap/emque-producing/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamsnap/emque-producing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamsnap/emque-producing/statuses/{sha}","languages_url":"https://api.github.com/repos/teamsnap/emque-producing/languages","stargazers_url":"https://api.github.com/repos/teamsnap/emque-producing/stargazers","contributors_url":"https://api.github.com/repos/teamsnap/emque-producing/contributors","subscribers_url":"https://api.github.com/repos/teamsnap/emque-producing/subscribers","subscription_url":"https://api.github.com/repos/teamsnap/emque-producing/subscription","commits_url":"https://api.github.com/repos/teamsnap/emque-producing/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamsnap/emque-producing/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamsnap/emque-producing/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamsnap/emque-producing/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamsnap/emque-producing/contents/{+path}","compare_url":"https://api.github.com/repos/teamsnap/emque-producing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamsnap/emque-producing/merges","archive_url":"https://api.github.com/repos/teamsnap/emque-producing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamsnap/emque-producing/downloads","issues_url":"https://api.github.com/repos/teamsnap/emque-producing/issues{/number}","pulls_url":"https://api.github.com/repos/teamsnap/emque-producing/pulls{/number}","milestones_url":"https://api.github.com/repos/teamsnap/emque-producing/milestones{/number}","notifications_url":"https://api.github.com/repos/teamsnap/emque-producing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamsnap/emque-producing/labels{/name}","releases_url":"https://api.github.com/repos/teamsnap/emque-producing/releases{/id}","created_at":"2014-09-05T23:02:08Z","updated_at":"2015-03-25T18:26:49Z","pushed_at":"2015-03-27T16:19:12Z","git_url":"git://github.com/teamsnap/emque-producing.git","ssh_url":"git@github.com:teamsnap/emque-producing.git","clone_url":"https://github.com/teamsnap/emque-producing.git","svn_url":"https://github.com/teamsnap/emque-producing","homepage":"","size":754,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"teamsnap:master","ref":"master","sha":"785714d9edc14d7f963b5b23559784a19b40d1a6","user":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"repo":{"id":23720970,"name":"emque-producing","full_name":"teamsnap/emque-producing","owner":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamsnap/emque-producing","description":"Define and send messages to a variety of message brokers","fork":false,"url":"https://api.github.com/repos/teamsnap/emque-producing","forks_url":"https://api.github.com/repos/teamsnap/emque-producing/forks","keys_url":"https://api.github.com/repos/teamsnap/emque-producing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamsnap/emque-producing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamsnap/emque-producing/teams","hooks_url":"https://api.github.com/repos/teamsnap/emque-producing/hooks","issue_events_url":"https://api.github.com/repos/teamsnap/emque-producing/issues/events{/number}","events_url":"https://api.github.com/repos/teamsnap/emque-producing/events","assignees_url":"https://api.github.com/repos/teamsnap/emque-producing/assignees{/user}","branches_url":"https://api.github.com/repos/teamsnap/emque-producing/branches{/branch}","tags_url":"https://api.github.com/repos/teamsnap/emque-producing/tags","blobs_url":"https://api.github.com/repos/teamsnap/emque-producing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamsnap/emque-producing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamsnap/emque-producing/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamsnap/emque-producing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamsnap/emque-producing/statuses/{sha}","languages_url":"https://api.github.com/repos/teamsnap/emque-producing/languages","stargazers_url":"https://api.github.com/repos/teamsnap/emque-producing/stargazers","contributors_url":"https://api.github.com/repos/teamsnap/emque-producing/contributors","subscribers_url":"https://api.github.com/repos/teamsnap/emque-producing/subscribers","subscription_url":"https://api.github.com/repos/teamsnap/emque-producing/subscription","commits_url":"https://api.github.com/repos/teamsnap/emque-producing/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamsnap/emque-producing/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamsnap/emque-producing/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamsnap/emque-producing/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamsnap/emque-producing/contents/{+path}","compare_url":"https://api.github.com/repos/teamsnap/emque-producing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamsnap/emque-producing/merges","archive_url":"https://api.github.com/repos/teamsnap/emque-producing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamsnap/emque-producing/downloads","issues_url":"https://api.github.com/repos/teamsnap/emque-producing/issues{/number}","pulls_url":"https://api.github.com/repos/teamsnap/emque-producing/pulls{/number}","milestones_url":"https://api.github.com/repos/teamsnap/emque-producing/milestones{/number}","notifications_url":"https://api.github.com/repos/teamsnap/emque-producing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamsnap/emque-producing/labels{/name}","releases_url":"https://api.github.com/repos/teamsnap/emque-producing/releases{/id}","created_at":"2014-09-05T23:02:08Z","updated_at":"2015-03-25T18:26:49Z","pushed_at":"2015-03-27T16:19:12Z","git_url":"git://github.com/teamsnap/emque-producing.git","ssh_url":"git@github.com:teamsnap/emque-producing.git","clone_url":"https://github.com/teamsnap/emque-producing.git","svn_url":"https://github.com/teamsnap/emque-producing","homepage":"","size":754,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26"},"html":{"href":"https://github.com/teamsnap/emque-producing/pull/26"},"issue":{"href":"https://api.github.com/repos/teamsnap/emque-producing/issues/26"},"comments":{"href":"https://api.github.com/repos/teamsnap/emque-producing/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/teamsnap/emque-producing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamsnap/emque-producing/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/teamsnap/emque-producing/statuses/34d91630ff38817330aed7cdc2bd767068f18359"}}}}