{"action":"created","issue":{"url":"https://api.github.com/repos/samuel/go-zookeeper/issues/66","repository_url":"https://api.github.com/repos/samuel/go-zookeeper","labels_url":"https://api.github.com/repos/samuel/go-zookeeper/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/samuel/go-zookeeper/issues/66/comments","events_url":"https://api.github.com/repos/samuel/go-zookeeper/issues/66/events","html_url":"https://github.com/samuel/go-zookeeper/issues/66","id":88974194,"number":66,"title":"Add TreeCache?","user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-06-17T10:03:23Z","updated_at":"2016-10-09T08:36:56Z","closed_at":null,"body":"As part of implementing service discovery of Twitter Serversets in Prometheus, I did a basic implementation of a TreeCache (http://curator.apache.org/curator-recipes/tree-cache.html) in Go.\r\n\r\nAs this is generally useful and not tied to Prometheus, I think it'd be a good idea to make it more generally available as part of this repository under some directory in this repository.\r\n\r\nThe code is at https://github.com/prometheus/prometheus/blob/master/retrieval/discovery/serverset.go#L194-372\r\n\r\nWould you be willing in principle to accept this code into this repository?\r\n\r\n\r\nAlso, Are there any stubs for the zk client to aid unittesting of something like this? I couldn't find anything from a quick look."},"comment":{"url":"https://api.github.com/repos/samuel/go-zookeeper/issues/comments/252473022","html_url":"https://github.com/samuel/go-zookeeper/issues/66#issuecomment-252473022","issue_url":"https://api.github.com/repos/samuel/go-zookeeper/issues/66","id":252473022,"user":{"login":"basvanbeek","id":7205296,"avatar_url":"https://avatars.githubusercontent.com/u/7205296?v=3","gravatar_id":"","url":"https://api.github.com/users/basvanbeek","html_url":"https://github.com/basvanbeek","followers_url":"https://api.github.com/users/basvanbeek/followers","following_url":"https://api.github.com/users/basvanbeek/following{/other_user}","gists_url":"https://api.github.com/users/basvanbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/basvanbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvanbeek/subscriptions","organizations_url":"https://api.github.com/users/basvanbeek/orgs","repos_url":"https://api.github.com/users/basvanbeek/repos","events_url":"https://api.github.com/users/basvanbeek/events{/privacy}","received_events_url":"https://api.github.com/users/basvanbeek/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T08:36:56Z","updated_at":"2016-10-09T08:36:56Z","body":"@tevino has contributed the TreeCache recipe to https://github.com/curator-go/curator which is a fork of https://github.com/flier/curator.go since that project has been abandoned.\r\n\r\n"}}
{"actor":{"display_login":"basvanbeek"}}