{"action":"created","comment":{"url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/comments/24280833","id":24280833,"diff_hunk":"@@ -0,0 +1,50 @@\n+module Promiscuous::Backend\n+  extend Promiscuous::Autoload\n+  autoload :Bunny, :Poseidon, :Null, :Fake, :File\n+\n+  class << self\n+    attr_accessor :driver\n+    attr_accessor :driver_class\n+    attr_accessor :subscriber_worker_module\n+\n+    def driver=(value)\n+      disconnect\n+      @driver_class = value.nil? ? nil : \"Promiscuous::Backend::#{value.to_s.camelize.gsub(/backend/, 'Backend')}\".constantize","path":"lib/promiscuous/backend.rb","position":null,"original_position":12,"commit_id":"8f29184e5664acea76b9cf736f92ff32e66f2721","original_commit_id":"5fcfb62dbd95ec1af6f9b448f2ad4765d5a97761","user":{"login":"kareemk","id":65574,"avatar_url":"https://avatars.githubusercontent.com/u/65574?v=3","gravatar_id":"","url":"https://api.github.com/users/kareemk","html_url":"https://github.com/kareemk","followers_url":"https://api.github.com/users/kareemk/followers","following_url":"https://api.github.com/users/kareemk/following{/other_user}","gists_url":"https://api.github.com/users/kareemk/gists{/gist_id}","starred_url":"https://api.github.com/users/kareemk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kareemk/subscriptions","organizations_url":"https://api.github.com/users/kareemk/orgs","repos_url":"https://api.github.com/users/kareemk/repos","events_url":"https://api.github.com/users/kareemk/events{/privacy}","received_events_url":"https://api.github.com/users/kareemk/received_events","type":"User","site_admin":false},"body":"you shouldn't have to specify namespace as its in the same namespace. also that gsub is dirty. remove backend completely.","created_at":"2015-02-06T23:38:55Z","updated_at":"2015-02-06T23:38:55Z","html_url":"https://github.com/promiscuous-io/promiscuous/pull/70#discussion_r24280833","pull_request_url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/comments/24280833"},"html":{"href":"https://github.com/promiscuous-io/promiscuous/pull/70#discussion_r24280833"},"pull_request":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70","id":28246426,"html_url":"https://github.com/promiscuous-io/promiscuous/pull/70","diff_url":"https://github.com/promiscuous-io/promiscuous/pull/70.diff","patch_url":"https://github.com/promiscuous-io/promiscuous/pull/70.patch","issue_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/70","number":70,"state":"open","locked":false,"title":"Publish and Subscribe via Kafka","user":{"login":"michaeldauria","id":11802,"avatar_url":"https://avatars.githubusercontent.com/u/11802?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeldauria","html_url":"https://github.com/michaeldauria","followers_url":"https://api.github.com/users/michaeldauria/followers","following_url":"https://api.github.com/users/michaeldauria/following{/other_user}","gists_url":"https://api.github.com/users/michaeldauria/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeldauria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeldauria/subscriptions","organizations_url":"https://api.github.com/users/michaeldauria/orgs","repos_url":"https://api.github.com/users/michaeldauria/repos","events_url":"https://api.github.com/users/michaeldauria/events{/privacy}","received_events_url":"https://api.github.com/users/michaeldauria/received_events","type":"User","site_admin":false},"body":"We use a ConsumerGroup on the subscriber side to allow for multiple consumers per topic.","created_at":"2015-01-29T01:27:18Z","updated_at":"2015-02-06T23:38:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"881d11dd6f1d461546ee7b4f6fd3b91dd0af5042","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70/commits","review_comments_url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70/comments","review_comment_url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/comments/{number}","comments_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/70/comments","statuses_url":"https://api.github.com/repos/promiscuous-io/promiscuous/statuses/8f29184e5664acea76b9cf736f92ff32e66f2721","head":{"label":"promiscuous-io:kafka","ref":"kafka","sha":"8f29184e5664acea76b9cf736f92ff32e66f2721","user":{"login":"promiscuous-io","id":5614417,"avatar_url":"https://avatars.githubusercontent.com/u/5614417?v=3","gravatar_id":"","url":"https://api.github.com/users/promiscuous-io","html_url":"https://github.com/promiscuous-io","followers_url":"https://api.github.com/users/promiscuous-io/followers","following_url":"https://api.github.com/users/promiscuous-io/following{/other_user}","gists_url":"https://api.github.com/users/promiscuous-io/gists{/gist_id}","starred_url":"https://api.github.com/users/promiscuous-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promiscuous-io/subscriptions","organizations_url":"https://api.github.com/users/promiscuous-io/orgs","repos_url":"https://api.github.com/users/promiscuous-io/repos","events_url":"https://api.github.com/users/promiscuous-io/events{/privacy}","received_events_url":"https://api.github.com/users/promiscuous-io/received_events","type":"Organization","site_admin":false},"repo":{"id":5376704,"name":"promiscuous","full_name":"promiscuous-io/promiscuous","owner":{"login":"promiscuous-io","id":5614417,"avatar_url":"https://avatars.githubusercontent.com/u/5614417?v=3","gravatar_id":"","url":"https://api.github.com/users/promiscuous-io","html_url":"https://github.com/promiscuous-io","followers_url":"https://api.github.com/users/promiscuous-io/followers","following_url":"https://api.github.com/users/promiscuous-io/following{/other_user}","gists_url":"https://api.github.com/users/promiscuous-io/gists{/gist_id}","starred_url":"https://api.github.com/users/promiscuous-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promiscuous-io/subscriptions","organizations_url":"https://api.github.com/users/promiscuous-io/orgs","repos_url":"https://api.github.com/users/promiscuous-io/repos","events_url":"https://api.github.com/users/promiscuous-io/events{/privacy}","received_events_url":"https://api.github.com/users/promiscuous-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/promiscuous-io/promiscuous","description":"Replicate data across your applications","fork":false,"url":"https://api.github.com/repos/promiscuous-io/promiscuous","forks_url":"https://api.github.com/repos/promiscuous-io/promiscuous/forks","keys_url":"https://api.github.com/repos/promiscuous-io/promiscuous/keys{/key_id}","collaborators_url":"https://api.github.com/repos/promiscuous-io/promiscuous/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/promiscuous-io/promiscuous/teams","hooks_url":"https://api.github.com/repos/promiscuous-io/promiscuous/hooks","issue_events_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/events{/number}","events_url":"https://api.github.com/repos/promiscuous-io/promiscuous/events","assignees_url":"https://api.github.com/repos/promiscuous-io/promiscuous/assignees{/user}","branches_url":"https://api.github.com/repos/promiscuous-io/promiscuous/branches{/branch}","tags_url":"https://api.github.com/repos/promiscuous-io/promiscuous/tags","blobs_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/refs{/sha}","trees_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/trees{/sha}","statuses_url":"https://api.github.com/repos/promiscuous-io/promiscuous/statuses/{sha}","languages_url":"https://api.github.com/repos/promiscuous-io/promiscuous/languages","stargazers_url":"https://api.github.com/repos/promiscuous-io/promiscuous/stargazers","contributors_url":"https://api.github.com/repos/promiscuous-io/promiscuous/contributors","subscribers_url":"https://api.github.com/repos/promiscuous-io/promiscuous/subscribers","subscription_url":"https://api.github.com/repos/promiscuous-io/promiscuous/subscription","commits_url":"https://api.github.com/repos/promiscuous-io/promiscuous/commits{/sha}","git_commits_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/commits{/sha}","comments_url":"https://api.github.com/repos/promiscuous-io/promiscuous/comments{/number}","issue_comment_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/comments/{number}","contents_url":"https://api.github.com/repos/promiscuous-io/promiscuous/contents/{+path}","compare_url":"https://api.github.com/repos/promiscuous-io/promiscuous/compare/{base}...{head}","merges_url":"https://api.github.com/repos/promiscuous-io/promiscuous/merges","archive_url":"https://api.github.com/repos/promiscuous-io/promiscuous/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/promiscuous-io/promiscuous/downloads","issues_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues{/number}","pulls_url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls{/number}","milestones_url":"https://api.github.com/repos/promiscuous-io/promiscuous/milestones{/number}","notifications_url":"https://api.github.com/repos/promiscuous-io/promiscuous/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/promiscuous-io/promiscuous/labels{/name}","releases_url":"https://api.github.com/repos/promiscuous-io/promiscuous/releases{/id}","created_at":"2012-08-11T02:36:18Z","updated_at":"2015-02-03T07:23:23Z","pushed_at":"2015-02-06T20:07:01Z","git_url":"git://github.com/promiscuous-io/promiscuous.git","ssh_url":"git@github.com:promiscuous-io/promiscuous.git","clone_url":"https://github.com/promiscuous-io/promiscuous.git","svn_url":"https://github.com/promiscuous-io/promiscuous","homepage":null,"size":4104,"stargazers_count":345,"watchers_count":345,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":6,"forks":16,"open_issues":6,"watchers":345,"default_branch":"master"}},"base":{"label":"promiscuous-io:new-locking-scheme","ref":"new-locking-scheme","sha":"3b24058329dd9a1be96466ac2053712d65eb542e","user":{"login":"promiscuous-io","id":5614417,"avatar_url":"https://avatars.githubusercontent.com/u/5614417?v=3","gravatar_id":"","url":"https://api.github.com/users/promiscuous-io","html_url":"https://github.com/promiscuous-io","followers_url":"https://api.github.com/users/promiscuous-io/followers","following_url":"https://api.github.com/users/promiscuous-io/following{/other_user}","gists_url":"https://api.github.com/users/promiscuous-io/gists{/gist_id}","starred_url":"https://api.github.com/users/promiscuous-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promiscuous-io/subscriptions","organizations_url":"https://api.github.com/users/promiscuous-io/orgs","repos_url":"https://api.github.com/users/promiscuous-io/repos","events_url":"https://api.github.com/users/promiscuous-io/events{/privacy}","received_events_url":"https://api.github.com/users/promiscuous-io/received_events","type":"Organization","site_admin":false},"repo":{"id":5376704,"name":"promiscuous","full_name":"promiscuous-io/promiscuous","owner":{"login":"promiscuous-io","id":5614417,"avatar_url":"https://avatars.githubusercontent.com/u/5614417?v=3","gravatar_id":"","url":"https://api.github.com/users/promiscuous-io","html_url":"https://github.com/promiscuous-io","followers_url":"https://api.github.com/users/promiscuous-io/followers","following_url":"https://api.github.com/users/promiscuous-io/following{/other_user}","gists_url":"https://api.github.com/users/promiscuous-io/gists{/gist_id}","starred_url":"https://api.github.com/users/promiscuous-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promiscuous-io/subscriptions","organizations_url":"https://api.github.com/users/promiscuous-io/orgs","repos_url":"https://api.github.com/users/promiscuous-io/repos","events_url":"https://api.github.com/users/promiscuous-io/events{/privacy}","received_events_url":"https://api.github.com/users/promiscuous-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/promiscuous-io/promiscuous","description":"Replicate data across your applications","fork":false,"url":"https://api.github.com/repos/promiscuous-io/promiscuous","forks_url":"https://api.github.com/repos/promiscuous-io/promiscuous/forks","keys_url":"https://api.github.com/repos/promiscuous-io/promiscuous/keys{/key_id}","collaborators_url":"https://api.github.com/repos/promiscuous-io/promiscuous/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/promiscuous-io/promiscuous/teams","hooks_url":"https://api.github.com/repos/promiscuous-io/promiscuous/hooks","issue_events_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/events{/number}","events_url":"https://api.github.com/repos/promiscuous-io/promiscuous/events","assignees_url":"https://api.github.com/repos/promiscuous-io/promiscuous/assignees{/user}","branches_url":"https://api.github.com/repos/promiscuous-io/promiscuous/branches{/branch}","tags_url":"https://api.github.com/repos/promiscuous-io/promiscuous/tags","blobs_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/refs{/sha}","trees_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/trees{/sha}","statuses_url":"https://api.github.com/repos/promiscuous-io/promiscuous/statuses/{sha}","languages_url":"https://api.github.com/repos/promiscuous-io/promiscuous/languages","stargazers_url":"https://api.github.com/repos/promiscuous-io/promiscuous/stargazers","contributors_url":"https://api.github.com/repos/promiscuous-io/promiscuous/contributors","subscribers_url":"https://api.github.com/repos/promiscuous-io/promiscuous/subscribers","subscription_url":"https://api.github.com/repos/promiscuous-io/promiscuous/subscription","commits_url":"https://api.github.com/repos/promiscuous-io/promiscuous/commits{/sha}","git_commits_url":"https://api.github.com/repos/promiscuous-io/promiscuous/git/commits{/sha}","comments_url":"https://api.github.com/repos/promiscuous-io/promiscuous/comments{/number}","issue_comment_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/comments/{number}","contents_url":"https://api.github.com/repos/promiscuous-io/promiscuous/contents/{+path}","compare_url":"https://api.github.com/repos/promiscuous-io/promiscuous/compare/{base}...{head}","merges_url":"https://api.github.com/repos/promiscuous-io/promiscuous/merges","archive_url":"https://api.github.com/repos/promiscuous-io/promiscuous/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/promiscuous-io/promiscuous/downloads","issues_url":"https://api.github.com/repos/promiscuous-io/promiscuous/issues{/number}","pulls_url":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls{/number}","milestones_url":"https://api.github.com/repos/promiscuous-io/promiscuous/milestones{/number}","notifications_url":"https://api.github.com/repos/promiscuous-io/promiscuous/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/promiscuous-io/promiscuous/labels{/name}","releases_url":"https://api.github.com/repos/promiscuous-io/promiscuous/releases{/id}","created_at":"2012-08-11T02:36:18Z","updated_at":"2015-02-03T07:23:23Z","pushed_at":"2015-02-06T20:07:01Z","git_url":"git://github.com/promiscuous-io/promiscuous.git","ssh_url":"git@github.com:promiscuous-io/promiscuous.git","clone_url":"https://github.com/promiscuous-io/promiscuous.git","svn_url":"https://github.com/promiscuous-io/promiscuous","homepage":null,"size":4104,"stargazers_count":345,"watchers_count":345,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":6,"forks":16,"open_issues":6,"watchers":345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70"},"html":{"href":"https://github.com/promiscuous-io/promiscuous/pull/70"},"issue":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/70"},"comments":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/promiscuous-io/promiscuous/statuses/8f29184e5664acea76b9cf736f92ff32e66f2721"}}}}