{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/jetcd/pulls/comments/78887402","id":78887402,"diff_hunk":"@@ -2,4 +2,42 @@\n \n [![Build Status](https://travis-ci.org/coreos/jetcd.svg?branch=master)](https://travis-ci.org/coreos/jetcd)\n \n-Java client for etcd v3.\n+jetcd is a Java client library for the awesome [etcd](https://coreos.com/etcd/), a highly available distributed key-value store.\n+\n+### Etcd version support\n+\n+jetcd only supports newly etcd v3, for any v2 support, you can use Java bindings list [here](https://github.com/coreos/etcd/blob/master/Documentation/libraries-and-tools.md).\n+\n+### Download\n+\n+#### Maven\n+\n+TODO\n+\n+#### Gradle\n+\n+TODO\n+\n+### Usage\n+\n+Check out tests for more details about how to use this library, but here's a quick code example:\n+\n+```\n+EtcdClient client = EtcdClientBuilder.newBuilder().endpoints(\"http://localhost:2379\").build();\n+EtcdKV kvClient = client.getKVClient();\n+\n+ByteString key = ByteString.copyFrom(\"test_key\", \"UTF-8\");\n+ByteString value = ByteString.copyFrom(\"test_value\", \"UTF-8\");\n+\n+// put the key-value\n+kvClient.put(key, value).get();\n+// get the value\n+ListenableFuture<RangeResponse> getFeature = kvClient.get(key);\n+RangeResponse response = getFeature.get();\n+assertEquals(response.getKvsCount(), 1);\n+assertEquals(response.getKvs(0).getValue().toStringUtf8(), \"test_value\");\n+// delete the key\n+kvClient.delete(key).get()\n+```\n+\n+For full etcd v3 API, plesase refer to [API_Reference](https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/api_reference_v3.md).","path":"README.md","position":43,"original_position":43,"commit_id":"f39ee3badba1f9a052ea4c828df2251038cc2236","original_commit_id":"f39ee3badba1f9a052ea4c828df2251038cc2236","user":{"login":"czf","id":2455501,"avatar_url":"https://avatars.githubusercontent.com/u/2455501?v=3","gravatar_id":"","url":"https://api.github.com/users/czf","html_url":"https://github.com/czf","followers_url":"https://api.github.com/users/czf/followers","following_url":"https://api.github.com/users/czf/following{/other_user}","gists_url":"https://api.github.com/users/czf/gists{/gist_id}","starred_url":"https://api.github.com/users/czf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czf/subscriptions","organizations_url":"https://api.github.com/users/czf/orgs","repos_url":"https://api.github.com/users/czf/repos","events_url":"https://api.github.com/users/czf/events{/privacy}","received_events_url":"https://api.github.com/users/czf/received_events","type":"User","site_admin":false},"body":"@AdoHe \r\n\r\n[this line]( https://github.com/coreos/jetcd/blob/master/src/main/java/com/coreos/jetcd/EtcdClient.java#L105) shows `getKVClient` as protected","created_at":"2016-09-15T04:14:28Z","updated_at":"2016-09-15T04:14:28Z","html_url":"https://github.com/coreos/jetcd/pull/50#discussion_r78887402","pull_request_url":"https://api.github.com/repos/coreos/jetcd/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/coreos/jetcd/pulls/comments/78887402"},"html":{"href":"https://github.com/coreos/jetcd/pull/50#discussion_r78887402"},"pull_request":{"href":"https://api.github.com/repos/coreos/jetcd/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/jetcd/pulls/50","id":84741183,"html_url":"https://github.com/coreos/jetcd/pull/50","diff_url":"https://github.com/coreos/jetcd/pull/50.diff","patch_url":"https://github.com/coreos/jetcd/pull/50.patch","issue_url":"https://api.github.com/repos/coreos/jetcd/issues/50","number":50,"state":"open","locked":false,"title":"add a minimal README","user":{"login":"AdoHe","id":1555564,"avatar_url":"https://avatars.githubusercontent.com/u/1555564?v=3","gravatar_id":"","url":"https://api.github.com/users/AdoHe","html_url":"https://github.com/AdoHe","followers_url":"https://api.github.com/users/AdoHe/followers","following_url":"https://api.github.com/users/AdoHe/following{/other_user}","gists_url":"https://api.github.com/users/AdoHe/gists{/gist_id}","starred_url":"https://api.github.com/users/AdoHe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdoHe/subscriptions","organizations_url":"https://api.github.com/users/AdoHe/orgs","repos_url":"https://api.github.com/users/AdoHe/repos","events_url":"https://api.github.com/users/AdoHe/events{/privacy}","received_events_url":"https://api.github.com/users/AdoHe/received_events","type":"User","site_admin":false},"body":"@philips @xiang90 ptal.","created_at":"2016-09-10T02:03:27Z","updated_at":"2016-09-15T04:14:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4c0f8214673e22f6411b91946e32c0704433199","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coreos/jetcd/pulls/50/commits","review_comments_url":"https://api.github.com/repos/coreos/jetcd/pulls/50/comments","review_comment_url":"https://api.github.com/repos/coreos/jetcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/jetcd/issues/50/comments","statuses_url":"https://api.github.com/repos/coreos/jetcd/statuses/f39ee3badba1f9a052ea4c828df2251038cc2236","head":{"label":"AdoHe:master","ref":"master","sha":"f39ee3badba1f9a052ea4c828df2251038cc2236","user":{"login":"AdoHe","id":1555564,"avatar_url":"https://avatars.githubusercontent.com/u/1555564?v=3","gravatar_id":"","url":"https://api.github.com/users/AdoHe","html_url":"https://github.com/AdoHe","followers_url":"https://api.github.com/users/AdoHe/followers","following_url":"https://api.github.com/users/AdoHe/following{/other_user}","gists_url":"https://api.github.com/users/AdoHe/gists{/gist_id}","starred_url":"https://api.github.com/users/AdoHe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdoHe/subscriptions","organizations_url":"https://api.github.com/users/AdoHe/orgs","repos_url":"https://api.github.com/users/AdoHe/repos","events_url":"https://api.github.com/users/AdoHe/events{/privacy}","received_events_url":"https://api.github.com/users/AdoHe/received_events","type":"User","site_admin":false},"repo":{"id":63844897,"name":"jetcd","full_name":"AdoHe/jetcd","owner":{"login":"AdoHe","id":1555564,"avatar_url":"https://avatars.githubusercontent.com/u/1555564?v=3","gravatar_id":"","url":"https://api.github.com/users/AdoHe","html_url":"https://github.com/AdoHe","followers_url":"https://api.github.com/users/AdoHe/followers","following_url":"https://api.github.com/users/AdoHe/following{/other_user}","gists_url":"https://api.github.com/users/AdoHe/gists{/gist_id}","starred_url":"https://api.github.com/users/AdoHe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdoHe/subscriptions","organizations_url":"https://api.github.com/users/AdoHe/orgs","repos_url":"https://api.github.com/users/AdoHe/repos","events_url":"https://api.github.com/users/AdoHe/events{/privacy}","received_events_url":"https://api.github.com/users/AdoHe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AdoHe/jetcd","description":"etcd java client","fork":true,"url":"https://api.github.com/repos/AdoHe/jetcd","forks_url":"https://api.github.com/repos/AdoHe/jetcd/forks","keys_url":"https://api.github.com/repos/AdoHe/jetcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdoHe/jetcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdoHe/jetcd/teams","hooks_url":"https://api.github.com/repos/AdoHe/jetcd/hooks","issue_events_url":"https://api.github.com/repos/AdoHe/jetcd/issues/events{/number}","events_url":"https://api.github.com/repos/AdoHe/jetcd/events","assignees_url":"https://api.github.com/repos/AdoHe/jetcd/assignees{/user}","branches_url":"https://api.github.com/repos/AdoHe/jetcd/branches{/branch}","tags_url":"https://api.github.com/repos/AdoHe/jetcd/tags","blobs_url":"https://api.github.com/repos/AdoHe/jetcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdoHe/jetcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdoHe/jetcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdoHe/jetcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdoHe/jetcd/statuses/{sha}","languages_url":"https://api.github.com/repos/AdoHe/jetcd/languages","stargazers_url":"https://api.github.com/repos/AdoHe/jetcd/stargazers","contributors_url":"https://api.github.com/repos/AdoHe/jetcd/contributors","subscribers_url":"https://api.github.com/repos/AdoHe/jetcd/subscribers","subscription_url":"https://api.github.com/repos/AdoHe/jetcd/subscription","commits_url":"https://api.github.com/repos/AdoHe/jetcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdoHe/jetcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdoHe/jetcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdoHe/jetcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdoHe/jetcd/contents/{+path}","compare_url":"https://api.github.com/repos/AdoHe/jetcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdoHe/jetcd/merges","archive_url":"https://api.github.com/repos/AdoHe/jetcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdoHe/jetcd/downloads","issues_url":"https://api.github.com/repos/AdoHe/jetcd/issues{/number}","pulls_url":"https://api.github.com/repos/AdoHe/jetcd/pulls{/number}","milestones_url":"https://api.github.com/repos/AdoHe/jetcd/milestones{/number}","notifications_url":"https://api.github.com/repos/AdoHe/jetcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdoHe/jetcd/labels{/name}","releases_url":"https://api.github.com/repos/AdoHe/jetcd/releases{/id}","deployments_url":"https://api.github.com/repos/AdoHe/jetcd/deployments","created_at":"2016-07-21T06:56:50Z","updated_at":"2016-07-22T10:39:26Z","pushed_at":"2016-09-10T02:02:29Z","git_url":"git://github.com/AdoHe/jetcd.git","ssh_url":"git@github.com:AdoHe/jetcd.git","clone_url":"https://github.com/AdoHe/jetcd.git","svn_url":"https://github.com/AdoHe/jetcd","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"2afe4e40904c5080382447389b9850d337852b02","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":63749548,"name":"jetcd","full_name":"coreos/jetcd","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/jetcd","description":"etcd java client","fork":false,"url":"https://api.github.com/repos/coreos/jetcd","forks_url":"https://api.github.com/repos/coreos/jetcd/forks","keys_url":"https://api.github.com/repos/coreos/jetcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/jetcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/jetcd/teams","hooks_url":"https://api.github.com/repos/coreos/jetcd/hooks","issue_events_url":"https://api.github.com/repos/coreos/jetcd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/jetcd/events","assignees_url":"https://api.github.com/repos/coreos/jetcd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/jetcd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/jetcd/tags","blobs_url":"https://api.github.com/repos/coreos/jetcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/jetcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/jetcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/jetcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/jetcd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/jetcd/languages","stargazers_url":"https://api.github.com/repos/coreos/jetcd/stargazers","contributors_url":"https://api.github.com/repos/coreos/jetcd/contributors","subscribers_url":"https://api.github.com/repos/coreos/jetcd/subscribers","subscription_url":"https://api.github.com/repos/coreos/jetcd/subscription","commits_url":"https://api.github.com/repos/coreos/jetcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/jetcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/jetcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/jetcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/jetcd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/jetcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/jetcd/merges","archive_url":"https://api.github.com/repos/coreos/jetcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/jetcd/downloads","issues_url":"https://api.github.com/repos/coreos/jetcd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/jetcd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/jetcd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/jetcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/jetcd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/jetcd/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/jetcd/deployments","created_at":"2016-07-20T04:14:11Z","updated_at":"2016-09-14T08:20:33Z","pushed_at":"2016-09-10T02:03:27Z","git_url":"git://github.com/coreos/jetcd.git","ssh_url":"git@github.com:coreos/jetcd.git","clone_url":"https://github.com/coreos/jetcd.git","svn_url":"https://github.com/coreos/jetcd","homepage":null,"size":278,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":13,"forks":22,"open_issues":13,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/jetcd/pulls/50"},"html":{"href":"https://github.com/coreos/jetcd/pull/50"},"issue":{"href":"https://api.github.com/repos/coreos/jetcd/issues/50"},"comments":{"href":"https://api.github.com/repos/coreos/jetcd/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/jetcd/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/jetcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/jetcd/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/jetcd/statuses/f39ee3badba1f9a052ea4c828df2251038cc2236"}}}}
{"actor":{"display_login":"czf"}}