{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/8","id":42517581,"html_url":"https://github.com/wvanbergen/kazoo-go/pull/8","diff_url":"https://github.com/wvanbergen/kazoo-go/pull/8.diff","patch_url":"https://github.com/wvanbergen/kazoo-go/pull/8.patch","issue_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/8","number":8,"state":"open","locked":false,"title":"Add WatchPartitionOwner to set a zookeeper watch on the owner of a partition","user":{"login":"wvanbergen","id":15870,"avatar_url":"https://avatars.githubusercontent.com/u/15870?v=3","gravatar_id":"","url":"https://api.github.com/users/wvanbergen","html_url":"https://github.com/wvanbergen","followers_url":"https://api.github.com/users/wvanbergen/followers","following_url":"https://api.github.com/users/wvanbergen/following{/other_user}","gists_url":"https://api.github.com/users/wvanbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvanbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvanbergen/subscriptions","organizations_url":"https://api.github.com/users/wvanbergen/orgs","repos_url":"https://api.github.com/users/wvanbergen/repos","events_url":"https://api.github.com/users/wvanbergen/events{/privacy}","received_events_url":"https://api.github.com/users/wvanbergen/received_events","type":"User","site_admin":false},"body":"@nemothekid This allows us to simply wait for the partition to become available, instead of sleeping and retrying, as mentioned in https://github.com/wvanbergen/kafka/pull/68","created_at":"2015-08-15T10:48:27Z","updated_at":"2015-08-15T10:48:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/8/commits","review_comments_url":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/8/comments","review_comment_url":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/8/comments","statuses_url":"https://api.github.com/repos/wvanbergen/kazoo-go/statuses/26e76760e687c66c8eb5e1a4e0d730314afb3569","head":{"label":"wvanbergen:watch_partition_claim","ref":"watch_partition_claim","sha":"26e76760e687c66c8eb5e1a4e0d730314afb3569","user":{"login":"wvanbergen","id":15870,"avatar_url":"https://avatars.githubusercontent.com/u/15870?v=3","gravatar_id":"","url":"https://api.github.com/users/wvanbergen","html_url":"https://github.com/wvanbergen","followers_url":"https://api.github.com/users/wvanbergen/followers","following_url":"https://api.github.com/users/wvanbergen/following{/other_user}","gists_url":"https://api.github.com/users/wvanbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvanbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvanbergen/subscriptions","organizations_url":"https://api.github.com/users/wvanbergen/orgs","repos_url":"https://api.github.com/users/wvanbergen/repos","events_url":"https://api.github.com/users/wvanbergen/events{/privacy}","received_events_url":"https://api.github.com/users/wvanbergen/received_events","type":"User","site_admin":false},"repo":{"id":34906971,"name":"kazoo-go","full_name":"wvanbergen/kazoo-go","owner":{"login":"wvanbergen","id":15870,"avatar_url":"https://avatars.githubusercontent.com/u/15870?v=3","gravatar_id":"","url":"https://api.github.com/users/wvanbergen","html_url":"https://github.com/wvanbergen","followers_url":"https://api.github.com/users/wvanbergen/followers","following_url":"https://api.github.com/users/wvanbergen/following{/other_user}","gists_url":"https://api.github.com/users/wvanbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvanbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvanbergen/subscriptions","organizations_url":"https://api.github.com/users/wvanbergen/orgs","repos_url":"https://api.github.com/users/wvanbergen/repos","events_url":"https://api.github.com/users/wvanbergen/events{/privacy}","received_events_url":"https://api.github.com/users/wvanbergen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wvanbergen/kazoo-go","description":"Go library to access Kafka metadata in Zookeeper","fork":false,"url":"https://api.github.com/repos/wvanbergen/kazoo-go","forks_url":"https://api.github.com/repos/wvanbergen/kazoo-go/forks","keys_url":"https://api.github.com/repos/wvanbergen/kazoo-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wvanbergen/kazoo-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wvanbergen/kazoo-go/teams","hooks_url":"https://api.github.com/repos/wvanbergen/kazoo-go/hooks","issue_events_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/events{/number}","events_url":"https://api.github.com/repos/wvanbergen/kazoo-go/events","assignees_url":"https://api.github.com/repos/wvanbergen/kazoo-go/assignees{/user}","branches_url":"https://api.github.com/repos/wvanbergen/kazoo-go/branches{/branch}","tags_url":"https://api.github.com/repos/wvanbergen/kazoo-go/tags","blobs_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wvanbergen/kazoo-go/statuses/{sha}","languages_url":"https://api.github.com/repos/wvanbergen/kazoo-go/languages","stargazers_url":"https://api.github.com/repos/wvanbergen/kazoo-go/stargazers","contributors_url":"https://api.github.com/repos/wvanbergen/kazoo-go/contributors","subscribers_url":"https://api.github.com/repos/wvanbergen/kazoo-go/subscribers","subscription_url":"https://api.github.com/repos/wvanbergen/kazoo-go/subscription","commits_url":"https://api.github.com/repos/wvanbergen/kazoo-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/wvanbergen/kazoo-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/wvanbergen/kazoo-go/contents/{+path}","compare_url":"https://api.github.com/repos/wvanbergen/kazoo-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wvanbergen/kazoo-go/merges","archive_url":"https://api.github.com/repos/wvanbergen/kazoo-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wvanbergen/kazoo-go/downloads","issues_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues{/number}","pulls_url":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls{/number}","milestones_url":"https://api.github.com/repos/wvanbergen/kazoo-go/milestones{/number}","notifications_url":"https://api.github.com/repos/wvanbergen/kazoo-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wvanbergen/kazoo-go/labels{/name}","releases_url":"https://api.github.com/repos/wvanbergen/kazoo-go/releases{/id}","created_at":"2015-05-01T14:37:30Z","updated_at":"2015-08-04T19:05:06Z","pushed_at":"2015-08-15T10:48:27Z","git_url":"git://github.com/wvanbergen/kazoo-go.git","ssh_url":"git@github.com:wvanbergen/kazoo-go.git","clone_url":"https://github.com/wvanbergen/kazoo-go.git","svn_url":"https://github.com/wvanbergen/kazoo-go","homepage":"http://godoc.org/github.com/wvanbergen/kazoo-go","size":216,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"wvanbergen:master","ref":"master","sha":"02a3868e9b87153285439cd27a39c0a2984a13af","user":{"login":"wvanbergen","id":15870,"avatar_url":"https://avatars.githubusercontent.com/u/15870?v=3","gravatar_id":"","url":"https://api.github.com/users/wvanbergen","html_url":"https://github.com/wvanbergen","followers_url":"https://api.github.com/users/wvanbergen/followers","following_url":"https://api.github.com/users/wvanbergen/following{/other_user}","gists_url":"https://api.github.com/users/wvanbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvanbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvanbergen/subscriptions","organizations_url":"https://api.github.com/users/wvanbergen/orgs","repos_url":"https://api.github.com/users/wvanbergen/repos","events_url":"https://api.github.com/users/wvanbergen/events{/privacy}","received_events_url":"https://api.github.com/users/wvanbergen/received_events","type":"User","site_admin":false},"repo":{"id":34906971,"name":"kazoo-go","full_name":"wvanbergen/kazoo-go","owner":{"login":"wvanbergen","id":15870,"avatar_url":"https://avatars.githubusercontent.com/u/15870?v=3","gravatar_id":"","url":"https://api.github.com/users/wvanbergen","html_url":"https://github.com/wvanbergen","followers_url":"https://api.github.com/users/wvanbergen/followers","following_url":"https://api.github.com/users/wvanbergen/following{/other_user}","gists_url":"https://api.github.com/users/wvanbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvanbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvanbergen/subscriptions","organizations_url":"https://api.github.com/users/wvanbergen/orgs","repos_url":"https://api.github.com/users/wvanbergen/repos","events_url":"https://api.github.com/users/wvanbergen/events{/privacy}","received_events_url":"https://api.github.com/users/wvanbergen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wvanbergen/kazoo-go","description":"Go library to access Kafka metadata in Zookeeper","fork":false,"url":"https://api.github.com/repos/wvanbergen/kazoo-go","forks_url":"https://api.github.com/repos/wvanbergen/kazoo-go/forks","keys_url":"https://api.github.com/repos/wvanbergen/kazoo-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wvanbergen/kazoo-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wvanbergen/kazoo-go/teams","hooks_url":"https://api.github.com/repos/wvanbergen/kazoo-go/hooks","issue_events_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/events{/number}","events_url":"https://api.github.com/repos/wvanbergen/kazoo-go/events","assignees_url":"https://api.github.com/repos/wvanbergen/kazoo-go/assignees{/user}","branches_url":"https://api.github.com/repos/wvanbergen/kazoo-go/branches{/branch}","tags_url":"https://api.github.com/repos/wvanbergen/kazoo-go/tags","blobs_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wvanbergen/kazoo-go/statuses/{sha}","languages_url":"https://api.github.com/repos/wvanbergen/kazoo-go/languages","stargazers_url":"https://api.github.com/repos/wvanbergen/kazoo-go/stargazers","contributors_url":"https://api.github.com/repos/wvanbergen/kazoo-go/contributors","subscribers_url":"https://api.github.com/repos/wvanbergen/kazoo-go/subscribers","subscription_url":"https://api.github.com/repos/wvanbergen/kazoo-go/subscription","commits_url":"https://api.github.com/repos/wvanbergen/kazoo-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/wvanbergen/kazoo-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/wvanbergen/kazoo-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/wvanbergen/kazoo-go/contents/{+path}","compare_url":"https://api.github.com/repos/wvanbergen/kazoo-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wvanbergen/kazoo-go/merges","archive_url":"https://api.github.com/repos/wvanbergen/kazoo-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wvanbergen/kazoo-go/downloads","issues_url":"https://api.github.com/repos/wvanbergen/kazoo-go/issues{/number}","pulls_url":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls{/number}","milestones_url":"https://api.github.com/repos/wvanbergen/kazoo-go/milestones{/number}","notifications_url":"https://api.github.com/repos/wvanbergen/kazoo-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wvanbergen/kazoo-go/labels{/name}","releases_url":"https://api.github.com/repos/wvanbergen/kazoo-go/releases{/id}","created_at":"2015-05-01T14:37:30Z","updated_at":"2015-08-04T19:05:06Z","pushed_at":"2015-08-15T10:48:27Z","git_url":"git://github.com/wvanbergen/kazoo-go.git","ssh_url":"git@github.com:wvanbergen/kazoo-go.git","clone_url":"https://github.com/wvanbergen/kazoo-go.git","svn_url":"https://github.com/wvanbergen/kazoo-go","homepage":"http://godoc.org/github.com/wvanbergen/kazoo-go","size":216,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/8"},"html":{"href":"https://github.com/wvanbergen/kazoo-go/pull/8"},"issue":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/8"},"comments":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/wvanbergen/kazoo-go/statuses/26e76760e687c66c8eb5e1a4e0d730314afb3569"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":96,"deletions":0,"changed_files":2}}