{"action":"created","comment":{"url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/comments/78339116","id":78339116,"diff_hunk":"@@ -8,12 +8,15 @@ import (\n )\n \n type Conf struct {\n+\tBackend BackendType","path":"persist-service/conf.go","position":4,"original_position":4,"commit_id":"d725368cf8e563430036d8c0f45651509013a6c4","original_commit_id":"d725368cf8e563430036d8c0f45651509013a6c4","user":{"login":"RobinUS2","id":1712500,"avatar_url":"https://avatars.githubusercontent.com/u/1712500?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinUS2","html_url":"https://github.com/RobinUS2","followers_url":"https://api.github.com/users/RobinUS2/followers","following_url":"https://api.github.com/users/RobinUS2/following{/other_user}","gists_url":"https://api.github.com/users/RobinUS2/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinUS2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinUS2/subscriptions","organizations_url":"https://api.github.com/users/RobinUS2/orgs","repos_url":"https://api.github.com/users/RobinUS2/repos","events_url":"https://api.github.com/users/RobinUS2/events{/privacy}","received_events_url":"https://api.github.com/users/RobinUS2/received_events","type":"User","site_admin":false},"body":"Backend 1 is not really user friendly or understandable and depends on the order of the const which is tricky. I'd rather have \"Backend\": \"cassandra\" or \"file\", probably need to add some logic into the newConf()","created_at":"2016-09-12T09:18:39Z","updated_at":"2016-09-12T09:18:39Z","html_url":"https://github.com/RobinUS2/presto-bloomfilter/pull/13#discussion_r78339116","pull_request_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/comments/78339116"},"html":{"href":"https://github.com/RobinUS2/presto-bloomfilter/pull/13#discussion_r78339116"},"pull_request":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13","id":84837415,"html_url":"https://github.com/RobinUS2/presto-bloomfilter/pull/13","diff_url":"https://github.com/RobinUS2/presto-bloomfilter/pull/13.diff","patch_url":"https://github.com/RobinUS2/presto-bloomfilter/pull/13.patch","issue_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues/13","number":13,"state":"open","locked":false,"title":"Cassandra backend","user":{"login":"FlxJaron","id":3006895,"avatar_url":"https://avatars.githubusercontent.com/u/3006895?v=3","gravatar_id":"","url":"https://api.github.com/users/FlxJaron","html_url":"https://github.com/FlxJaron","followers_url":"https://api.github.com/users/FlxJaron/followers","following_url":"https://api.github.com/users/FlxJaron/following{/other_user}","gists_url":"https://api.github.com/users/FlxJaron/gists{/gist_id}","starred_url":"https://api.github.com/users/FlxJaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlxJaron/subscriptions","organizations_url":"https://api.github.com/users/FlxJaron/orgs","repos_url":"https://api.github.com/users/FlxJaron/repos","events_url":"https://api.github.com/users/FlxJaron/events{/privacy}","received_events_url":"https://api.github.com/users/FlxJaron/received_events","type":"User","site_admin":false},"body":"Keyspace\r\n`CREATE KEYSPACE example WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}  AND durable_writes = true;`\r\n\r\nTable\r\n`CREATE TABLE test (key varchar PRIMARY KEY, value varchar);`\r\n\r\nExample config where Backend:1 is Cassandra\r\n```\r\n{\r\n\t\"Backend\": 1,\r\n\t\"Cassandra\": {\r\n\t\t\"ProtoVersion\": 3,\r\n\t\t\"Keyspace\": \"example\",\r\n\t\t\"Table\": \"test\",\r\n\t\t\"Hosts\": [\"127.0.0.1\"],\r\n\t\t\"Consistency\": 4\r\n\t}\r\n}\r\n```\r\n","created_at":"2016-09-12T09:08:31Z","updated_at":"2016-09-12T09:18:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"524a97a7da329f5fc4fc31e956e2ebefc053341d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13/commits","review_comments_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13/comments","review_comment_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues/13/comments","statuses_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/statuses/d725368cf8e563430036d8c0f45651509013a6c4","head":{"label":"FlxJaron:master","ref":"master","sha":"d725368cf8e563430036d8c0f45651509013a6c4","user":{"login":"FlxJaron","id":3006895,"avatar_url":"https://avatars.githubusercontent.com/u/3006895?v=3","gravatar_id":"","url":"https://api.github.com/users/FlxJaron","html_url":"https://github.com/FlxJaron","followers_url":"https://api.github.com/users/FlxJaron/followers","following_url":"https://api.github.com/users/FlxJaron/following{/other_user}","gists_url":"https://api.github.com/users/FlxJaron/gists{/gist_id}","starred_url":"https://api.github.com/users/FlxJaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlxJaron/subscriptions","organizations_url":"https://api.github.com/users/FlxJaron/orgs","repos_url":"https://api.github.com/users/FlxJaron/repos","events_url":"https://api.github.com/users/FlxJaron/events{/privacy}","received_events_url":"https://api.github.com/users/FlxJaron/received_events","type":"User","site_admin":false},"repo":{"id":65798474,"name":"presto-bloomfilter","full_name":"FlxJaron/presto-bloomfilter","owner":{"login":"FlxJaron","id":3006895,"avatar_url":"https://avatars.githubusercontent.com/u/3006895?v=3","gravatar_id":"","url":"https://api.github.com/users/FlxJaron","html_url":"https://github.com/FlxJaron","followers_url":"https://api.github.com/users/FlxJaron/followers","following_url":"https://api.github.com/users/FlxJaron/following{/other_user}","gists_url":"https://api.github.com/users/FlxJaron/gists{/gist_id}","starred_url":"https://api.github.com/users/FlxJaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlxJaron/subscriptions","organizations_url":"https://api.github.com/users/FlxJaron/orgs","repos_url":"https://api.github.com/users/FlxJaron/repos","events_url":"https://api.github.com/users/FlxJaron/events{/privacy}","received_events_url":"https://api.github.com/users/FlxJaron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FlxJaron/presto-bloomfilter","description":"Bloomfilter support for Facebook Presto (prestodb.io)","fork":true,"url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter","forks_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/forks","keys_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/teams","hooks_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/hooks","issue_events_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/issues/events{/number}","events_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/events","assignees_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/assignees{/user}","branches_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/branches{/branch}","tags_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/tags","blobs_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/git/refs{/sha}","trees_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/statuses/{sha}","languages_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/languages","stargazers_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/stargazers","contributors_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/contributors","subscribers_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/subscribers","subscription_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/subscription","commits_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/commits{/sha}","git_commits_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/git/commits{/sha}","comments_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/comments{/number}","issue_comment_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/issues/comments{/number}","contents_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/contents/{+path}","compare_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/merges","archive_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/downloads","issues_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/issues{/number}","pulls_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/pulls{/number}","milestones_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/milestones{/number}","notifications_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/labels{/name}","releases_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/releases{/id}","deployments_url":"https://api.github.com/repos/FlxJaron/presto-bloomfilter/deployments","created_at":"2016-08-16T07:38:57Z","updated_at":"2016-08-16T07:38:58Z","pushed_at":"2016-09-12T09:17:09Z","git_url":"git://github.com/FlxJaron/presto-bloomfilter.git","ssh_url":"git@github.com:FlxJaron/presto-bloomfilter.git","clone_url":"https://github.com/FlxJaron/presto-bloomfilter.git","svn_url":"https://github.com/FlxJaron/presto-bloomfilter","homepage":null,"size":2266,"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":"RobinUS2:master","ref":"master","sha":"615bd059b0902a93b7590ab9b7e0d4afd5e0f296","user":{"login":"RobinUS2","id":1712500,"avatar_url":"https://avatars.githubusercontent.com/u/1712500?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinUS2","html_url":"https://github.com/RobinUS2","followers_url":"https://api.github.com/users/RobinUS2/followers","following_url":"https://api.github.com/users/RobinUS2/following{/other_user}","gists_url":"https://api.github.com/users/RobinUS2/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinUS2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinUS2/subscriptions","organizations_url":"https://api.github.com/users/RobinUS2/orgs","repos_url":"https://api.github.com/users/RobinUS2/repos","events_url":"https://api.github.com/users/RobinUS2/events{/privacy}","received_events_url":"https://api.github.com/users/RobinUS2/received_events","type":"User","site_admin":false},"repo":{"id":40309933,"name":"presto-bloomfilter","full_name":"RobinUS2/presto-bloomfilter","owner":{"login":"RobinUS2","id":1712500,"avatar_url":"https://avatars.githubusercontent.com/u/1712500?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinUS2","html_url":"https://github.com/RobinUS2","followers_url":"https://api.github.com/users/RobinUS2/followers","following_url":"https://api.github.com/users/RobinUS2/following{/other_user}","gists_url":"https://api.github.com/users/RobinUS2/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinUS2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinUS2/subscriptions","organizations_url":"https://api.github.com/users/RobinUS2/orgs","repos_url":"https://api.github.com/users/RobinUS2/repos","events_url":"https://api.github.com/users/RobinUS2/events{/privacy}","received_events_url":"https://api.github.com/users/RobinUS2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RobinUS2/presto-bloomfilter","description":"Bloomfilter support for Facebook Presto (prestodb.io)","fork":false,"url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter","forks_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/forks","keys_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/teams","hooks_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/hooks","issue_events_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues/events{/number}","events_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/events","assignees_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/assignees{/user}","branches_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/branches{/branch}","tags_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/tags","blobs_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/statuses/{sha}","languages_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/languages","stargazers_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/stargazers","contributors_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/contributors","subscribers_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/subscribers","subscription_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/subscription","commits_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/contents/{+path}","compare_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/merges","archive_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/downloads","issues_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues{/number}","pulls_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls{/number}","milestones_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/milestones{/number}","notifications_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/labels{/name}","releases_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/releases{/id}","deployments_url":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/deployments","created_at":"2015-08-06T14:41:40Z","updated_at":"2016-06-22T20:44:19Z","pushed_at":"2016-09-12T09:17:09Z","git_url":"git://github.com/RobinUS2/presto-bloomfilter.git","ssh_url":"git@github.com:RobinUS2/presto-bloomfilter.git","clone_url":"https://github.com/RobinUS2/presto-bloomfilter.git","svn_url":"https://github.com/RobinUS2/presto-bloomfilter","homepage":null,"size":2275,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13"},"html":{"href":"https://github.com/RobinUS2/presto-bloomfilter/pull/13"},"issue":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues/13"},"comments":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/RobinUS2/presto-bloomfilter/statuses/d725368cf8e563430036d8c0f45651509013a6c4"}}}}
{"actor":{"display_login":"RobinUS2"}}