{"action":"opened","number":66,"pull_request":{"url":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/66","id":85992829,"html_url":"https://github.com/zalando-incubator/bubuku/pull/66","diff_url":"https://github.com/zalando-incubator/bubuku/pull/66.diff","patch_url":"https://github.com/zalando-incubator/bubuku/pull/66.patch","issue_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues/66","number":66,"state":"open","locked":false,"title":"#63 Rebalance optimization","user":{"login":"antban","id":2656223,"avatar_url":"https://avatars.githubusercontent.com/u/2656223?v=3","gravatar_id":"","url":"https://api.github.com/users/antban","html_url":"https://github.com/antban","followers_url":"https://api.github.com/users/antban/followers","following_url":"https://api.github.com/users/antban/following{/other_user}","gists_url":"https://api.github.com/users/antban/gists{/gist_id}","starred_url":"https://api.github.com/users/antban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antban/subscriptions","organizations_url":"https://api.github.com/users/antban/orgs","repos_url":"https://api.github.com/users/antban/repos","events_url":"https://api.github.com/users/antban/events{/privacy}","received_events_url":"https://api.github.com/users/antban/received_events","type":"User","site_admin":false},"body":"Fully optimized rebalancing. At the end:\r\nmax(replica difference) = 1,\r\nmax(leader_difference) = 1\r\nmax(leader count for any topic)=1 (this part works only if all was balanced or all brokers was restarted one by one)\r\n\r\nAdded tests for that","created_at":"2016-09-20T14:57:30Z","updated_at":"2016-09-20T14:57:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e19a4e6951831337cc7e02ad3808c20a7eb5b11","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/66/commits","review_comments_url":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/66/comments","review_comment_url":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues/66/comments","statuses_url":"https://api.github.com/repos/zalando-incubator/bubuku/statuses/c3dba3c26447fd2be603d2cd88c25603f033011d","head":{"label":"zalando-incubator:I63","ref":"I63","sha":"c3dba3c26447fd2be603d2cd88c25603f033011d","user":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars.githubusercontent.com/u/18533786?v=3","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":64120851,"name":"bubuku","full_name":"zalando-incubator/bubuku","owner":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars.githubusercontent.com/u/18533786?v=3","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalando-incubator/bubuku","description":null,"fork":false,"url":"https://api.github.com/repos/zalando-incubator/bubuku","forks_url":"https://api.github.com/repos/zalando-incubator/bubuku/forks","keys_url":"https://api.github.com/repos/zalando-incubator/bubuku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalando-incubator/bubuku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalando-incubator/bubuku/teams","hooks_url":"https://api.github.com/repos/zalando-incubator/bubuku/hooks","issue_events_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues/events{/number}","events_url":"https://api.github.com/repos/zalando-incubator/bubuku/events","assignees_url":"https://api.github.com/repos/zalando-incubator/bubuku/assignees{/user}","branches_url":"https://api.github.com/repos/zalando-incubator/bubuku/branches{/branch}","tags_url":"https://api.github.com/repos/zalando-incubator/bubuku/tags","blobs_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalando-incubator/bubuku/statuses/{sha}","languages_url":"https://api.github.com/repos/zalando-incubator/bubuku/languages","stargazers_url":"https://api.github.com/repos/zalando-incubator/bubuku/stargazers","contributors_url":"https://api.github.com/repos/zalando-incubator/bubuku/contributors","subscribers_url":"https://api.github.com/repos/zalando-incubator/bubuku/subscribers","subscription_url":"https://api.github.com/repos/zalando-incubator/bubuku/subscription","commits_url":"https://api.github.com/repos/zalando-incubator/bubuku/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalando-incubator/bubuku/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalando-incubator/bubuku/contents/{+path}","compare_url":"https://api.github.com/repos/zalando-incubator/bubuku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalando-incubator/bubuku/merges","archive_url":"https://api.github.com/repos/zalando-incubator/bubuku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalando-incubator/bubuku/downloads","issues_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues{/number}","pulls_url":"https://api.github.com/repos/zalando-incubator/bubuku/pulls{/number}","milestones_url":"https://api.github.com/repos/zalando-incubator/bubuku/milestones{/number}","notifications_url":"https://api.github.com/repos/zalando-incubator/bubuku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalando-incubator/bubuku/labels{/name}","releases_url":"https://api.github.com/repos/zalando-incubator/bubuku/releases{/id}","deployments_url":"https://api.github.com/repos/zalando-incubator/bubuku/deployments","created_at":"2016-07-25T09:18:17Z","updated_at":"2016-09-05T09:24:26Z","pushed_at":"2016-09-20T14:57:30Z","git_url":"git://github.com/zalando-incubator/bubuku.git","ssh_url":"git@github.com:zalando-incubator/bubuku.git","clone_url":"https://github.com/zalando-incubator/bubuku.git","svn_url":"https://github.com/zalando-incubator/bubuku","homepage":null,"size":222,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":4,"default_branch":"master"}},"base":{"label":"zalando-incubator:master","ref":"master","sha":"3b8c8f3e873b3fd86b5e6f748ffb73458307dbf2","user":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars.githubusercontent.com/u/18533786?v=3","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":64120851,"name":"bubuku","full_name":"zalando-incubator/bubuku","owner":{"login":"zalando-incubator","id":18533786,"avatar_url":"https://avatars.githubusercontent.com/u/18533786?v=3","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalando-incubator/bubuku","description":null,"fork":false,"url":"https://api.github.com/repos/zalando-incubator/bubuku","forks_url":"https://api.github.com/repos/zalando-incubator/bubuku/forks","keys_url":"https://api.github.com/repos/zalando-incubator/bubuku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalando-incubator/bubuku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalando-incubator/bubuku/teams","hooks_url":"https://api.github.com/repos/zalando-incubator/bubuku/hooks","issue_events_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues/events{/number}","events_url":"https://api.github.com/repos/zalando-incubator/bubuku/events","assignees_url":"https://api.github.com/repos/zalando-incubator/bubuku/assignees{/user}","branches_url":"https://api.github.com/repos/zalando-incubator/bubuku/branches{/branch}","tags_url":"https://api.github.com/repos/zalando-incubator/bubuku/tags","blobs_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalando-incubator/bubuku/statuses/{sha}","languages_url":"https://api.github.com/repos/zalando-incubator/bubuku/languages","stargazers_url":"https://api.github.com/repos/zalando-incubator/bubuku/stargazers","contributors_url":"https://api.github.com/repos/zalando-incubator/bubuku/contributors","subscribers_url":"https://api.github.com/repos/zalando-incubator/bubuku/subscribers","subscription_url":"https://api.github.com/repos/zalando-incubator/bubuku/subscription","commits_url":"https://api.github.com/repos/zalando-incubator/bubuku/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalando-incubator/bubuku/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalando-incubator/bubuku/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalando-incubator/bubuku/contents/{+path}","compare_url":"https://api.github.com/repos/zalando-incubator/bubuku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalando-incubator/bubuku/merges","archive_url":"https://api.github.com/repos/zalando-incubator/bubuku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalando-incubator/bubuku/downloads","issues_url":"https://api.github.com/repos/zalando-incubator/bubuku/issues{/number}","pulls_url":"https://api.github.com/repos/zalando-incubator/bubuku/pulls{/number}","milestones_url":"https://api.github.com/repos/zalando-incubator/bubuku/milestones{/number}","notifications_url":"https://api.github.com/repos/zalando-incubator/bubuku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalando-incubator/bubuku/labels{/name}","releases_url":"https://api.github.com/repos/zalando-incubator/bubuku/releases{/id}","deployments_url":"https://api.github.com/repos/zalando-incubator/bubuku/deployments","created_at":"2016-07-25T09:18:17Z","updated_at":"2016-09-05T09:24:26Z","pushed_at":"2016-09-20T14:57:30Z","git_url":"git://github.com/zalando-incubator/bubuku.git","ssh_url":"git@github.com:zalando-incubator/bubuku.git","clone_url":"https://github.com/zalando-incubator/bubuku.git","svn_url":"https://github.com/zalando-incubator/bubuku","homepage":null,"size":222,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/66"},"html":{"href":"https://github.com/zalando-incubator/bubuku/pull/66"},"issue":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/issues/66"},"comments":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/zalando-incubator/bubuku/statuses/c3dba3c26447fd2be603d2cd88c25603f033011d"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":596,"deletions":347,"changed_files":9}}
{"actor":{"display_login":"antban"}}