{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/16","id":49494464,"html_url":"https://github.com/uber/kafka-spraynozzle/pull/16","diff_url":"https://github.com/uber/kafka-spraynozzle/pull/16.diff","patch_url":"https://github.com/uber/kafka-spraynozzle/pull/16.patch","issue_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/16","number":16,"state":"closed","locked":false,"title":"Get Spraynozzle to do its own load balancing","user":{"login":"dfellis","id":765551,"avatar_url":"https://avatars.githubusercontent.com/u/765551?v=3","gravatar_id":"","url":"https://api.github.com/users/dfellis","html_url":"https://github.com/dfellis","followers_url":"https://api.github.com/users/dfellis/followers","following_url":"https://api.github.com/users/dfellis/following{/other_user}","gists_url":"https://api.github.com/users/dfellis/gists{/gist_id}","starred_url":"https://api.github.com/users/dfellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfellis/subscriptions","organizations_url":"https://api.github.com/users/dfellis/orgs","repos_url":"https://api.github.com/users/dfellis/repos","events_url":"https://api.github.com/users/dfellis/events{/privacy}","received_events_url":"https://api.github.com/users/dfellis/received_events","type":"User","site_admin":false},"body":"cc @depombo @isaacbrodsky\n\nThis is a simplistic load-balancing system that has an implicit lock via incrementing a static integer. There *will* be multiple messages sent to the same box at the same time this way, but it should be small. We can improve this load-balancing over time.","created_at":"2015-11-02T22:22:27Z","updated_at":"2015-11-04T21:33:24Z","closed_at":"2015-11-04T21:33:24Z","merged_at":"2015-11-04T21:33:24Z","merge_commit_sha":"fa2ecf39345f6044fb07b3a28df036a90c506310","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/16/commits","review_comments_url":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/16/comments","review_comment_url":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/16/comments","statuses_url":"https://api.github.com/repos/uber/kafka-spraynozzle/statuses/4fdc72352a334d81b51ba6c41d04715e09b6098e","head":{"label":"uber:spraynozzle-loadbalancing","ref":"spraynozzle-loadbalancing","sha":"4fdc72352a334d81b51ba6c41d04715e09b6098e","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":19298404,"name":"kafka-spraynozzle","full_name":"uber/kafka-spraynozzle","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/kafka-spraynozzle","description":"A nozzle to spray a kafka topic at an HTTP endpoint.","fork":false,"url":"https://api.github.com/repos/uber/kafka-spraynozzle","forks_url":"https://api.github.com/repos/uber/kafka-spraynozzle/forks","keys_url":"https://api.github.com/repos/uber/kafka-spraynozzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/kafka-spraynozzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/kafka-spraynozzle/teams","hooks_url":"https://api.github.com/repos/uber/kafka-spraynozzle/hooks","issue_events_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/events{/number}","events_url":"https://api.github.com/repos/uber/kafka-spraynozzle/events","assignees_url":"https://api.github.com/repos/uber/kafka-spraynozzle/assignees{/user}","branches_url":"https://api.github.com/repos/uber/kafka-spraynozzle/branches{/branch}","tags_url":"https://api.github.com/repos/uber/kafka-spraynozzle/tags","blobs_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/kafka-spraynozzle/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/kafka-spraynozzle/languages","stargazers_url":"https://api.github.com/repos/uber/kafka-spraynozzle/stargazers","contributors_url":"https://api.github.com/repos/uber/kafka-spraynozzle/contributors","subscribers_url":"https://api.github.com/repos/uber/kafka-spraynozzle/subscribers","subscription_url":"https://api.github.com/repos/uber/kafka-spraynozzle/subscription","commits_url":"https://api.github.com/repos/uber/kafka-spraynozzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/kafka-spraynozzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/kafka-spraynozzle/contents/{+path}","compare_url":"https://api.github.com/repos/uber/kafka-spraynozzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/kafka-spraynozzle/merges","archive_url":"https://api.github.com/repos/uber/kafka-spraynozzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/kafka-spraynozzle/downloads","issues_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues{/number}","pulls_url":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/kafka-spraynozzle/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/kafka-spraynozzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/kafka-spraynozzle/labels{/name}","releases_url":"https://api.github.com/repos/uber/kafka-spraynozzle/releases{/id}","created_at":"2014-04-30T02:26:36Z","updated_at":"2015-10-01T19:21:52Z","pushed_at":"2015-11-04T21:33:24Z","git_url":"git://github.com/uber/kafka-spraynozzle.git","ssh_url":"git@github.com:uber/kafka-spraynozzle.git","clone_url":"https://github.com/uber/kafka-spraynozzle.git","svn_url":"https://github.com/uber/kafka-spraynozzle","homepage":null,"size":602,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":21,"default_branch":"master"}},"base":{"label":"uber:master","ref":"master","sha":"f0ec4f47754e67fae74e0c1d9de3a1fbaf0a4796","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":19298404,"name":"kafka-spraynozzle","full_name":"uber/kafka-spraynozzle","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/kafka-spraynozzle","description":"A nozzle to spray a kafka topic at an HTTP endpoint.","fork":false,"url":"https://api.github.com/repos/uber/kafka-spraynozzle","forks_url":"https://api.github.com/repos/uber/kafka-spraynozzle/forks","keys_url":"https://api.github.com/repos/uber/kafka-spraynozzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/kafka-spraynozzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/kafka-spraynozzle/teams","hooks_url":"https://api.github.com/repos/uber/kafka-spraynozzle/hooks","issue_events_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/events{/number}","events_url":"https://api.github.com/repos/uber/kafka-spraynozzle/events","assignees_url":"https://api.github.com/repos/uber/kafka-spraynozzle/assignees{/user}","branches_url":"https://api.github.com/repos/uber/kafka-spraynozzle/branches{/branch}","tags_url":"https://api.github.com/repos/uber/kafka-spraynozzle/tags","blobs_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/kafka-spraynozzle/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/kafka-spraynozzle/languages","stargazers_url":"https://api.github.com/repos/uber/kafka-spraynozzle/stargazers","contributors_url":"https://api.github.com/repos/uber/kafka-spraynozzle/contributors","subscribers_url":"https://api.github.com/repos/uber/kafka-spraynozzle/subscribers","subscription_url":"https://api.github.com/repos/uber/kafka-spraynozzle/subscription","commits_url":"https://api.github.com/repos/uber/kafka-spraynozzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/kafka-spraynozzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/kafka-spraynozzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/kafka-spraynozzle/contents/{+path}","compare_url":"https://api.github.com/repos/uber/kafka-spraynozzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/kafka-spraynozzle/merges","archive_url":"https://api.github.com/repos/uber/kafka-spraynozzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/kafka-spraynozzle/downloads","issues_url":"https://api.github.com/repos/uber/kafka-spraynozzle/issues{/number}","pulls_url":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/kafka-spraynozzle/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/kafka-spraynozzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/kafka-spraynozzle/labels{/name}","releases_url":"https://api.github.com/repos/uber/kafka-spraynozzle/releases{/id}","created_at":"2014-04-30T02:26:36Z","updated_at":"2015-10-01T19:21:52Z","pushed_at":"2015-11-04T21:33:24Z","git_url":"git://github.com/uber/kafka-spraynozzle.git","ssh_url":"git@github.com:uber/kafka-spraynozzle.git","clone_url":"https://github.com/uber/kafka-spraynozzle.git","svn_url":"https://github.com/uber/kafka-spraynozzle","homepage":null,"size":602,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/16"},"html":{"href":"https://github.com/uber/kafka-spraynozzle/pull/16"},"issue":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/16"},"comments":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/uber/kafka-spraynozzle/statuses/4fdc72352a334d81b51ba6c41d04715e09b6098e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dfellis","id":765551,"avatar_url":"https://avatars.githubusercontent.com/u/765551?v=3","gravatar_id":"","url":"https://api.github.com/users/dfellis","html_url":"https://github.com/dfellis","followers_url":"https://api.github.com/users/dfellis/followers","following_url":"https://api.github.com/users/dfellis/following{/other_user}","gists_url":"https://api.github.com/users/dfellis/gists{/gist_id}","starred_url":"https://api.github.com/users/dfellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfellis/subscriptions","organizations_url":"https://api.github.com/users/dfellis/orgs","repos_url":"https://api.github.com/users/dfellis/repos","events_url":"https://api.github.com/users/dfellis/events{/privacy}","received_events_url":"https://api.github.com/users/dfellis/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":2,"additions":28,"deletions":23,"changed_files":4}}