{"action":"created","comment":{"url":"https://api.github.com/repos/rozza/mongo-spark/pulls/comments/58097694","id":58097694,"diff_hunk":"@@ -102,4 +102,16 @@ trait MongoInputConfig extends MongoConfig {\n    */\n   val maxChunkSizeProperty = \"maxChunkSize\".toLowerCase\n \n+  /**\n+   * The localThreshold property","path":"src/main/scala/com/mongodb/spark/config/MongoInputConfig.scala","position":14,"original_position":14,"commit_id":"8488c613592289c843db48903c3ac480b15e3a4b","original_commit_id":"8488c613592289c843db48903c3ac480b15e3a4b","user":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"body":"Docs should indicate the unit (ms)","created_at":"2016-03-31T17:52:44Z","updated_at":"2016-03-31T17:52:44Z","html_url":"https://github.com/rozza/mongo-spark/pull/15#discussion_r58097694","pull_request_url":"https://api.github.com/repos/rozza/mongo-spark/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/rozza/mongo-spark/pulls/comments/58097694"},"html":{"href":"https://github.com/rozza/mongo-spark/pull/15#discussion_r58097694"},"pull_request":{"href":"https://api.github.com/repos/rozza/mongo-spark/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/rozza/mongo-spark/pulls/15","id":64807209,"html_url":"https://github.com/rozza/mongo-spark/pull/15","diff_url":"https://github.com/rozza/mongo-spark/pull/15.diff","patch_url":"https://github.com/rozza/mongo-spark/pull/15.patch","issue_url":"https://api.github.com/repos/rozza/mongo-spark/issues/15","number":15,"state":"open","locked":false,"title":"Allow localThreshold to be configured","user":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"body":"As its required when creating the MongoClient, it means the configuration has\r\nto be passed to the DefaultMongoClientFactory.\r\n\r\nMongoConnector now takes an options map so localThreshold can be passed to the DefaultMongoClientFactory.\r\nThe ReadConfig and WriteConfig have been refactored so they can optionally include the URI. Allowing for\r\neasy creation of a Read or Write MongoConnector.\r\n\r\nSPARK-29","created_at":"2016-03-31T15:14:06Z","updated_at":"2016-03-31T17:52:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06c36d0e365b714a7ae8fc6b4f12df42514cca0c","assignee":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rozza/mongo-spark/pulls/15/commits","review_comments_url":"https://api.github.com/repos/rozza/mongo-spark/pulls/15/comments","review_comment_url":"https://api.github.com/repos/rozza/mongo-spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rozza/mongo-spark/issues/15/comments","statuses_url":"https://api.github.com/repos/rozza/mongo-spark/statuses/8488c613592289c843db48903c3ac480b15e3a4b","head":{"label":"rozza:s29","ref":"s29","sha":"8488c613592289c843db48903c3ac480b15e3a4b","user":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"repo":{"id":46629106,"name":"mongo-spark","full_name":"rozza/mongo-spark","owner":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rozza/mongo-spark","description":"","fork":true,"url":"https://api.github.com/repos/rozza/mongo-spark","forks_url":"https://api.github.com/repos/rozza/mongo-spark/forks","keys_url":"https://api.github.com/repos/rozza/mongo-spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rozza/mongo-spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rozza/mongo-spark/teams","hooks_url":"https://api.github.com/repos/rozza/mongo-spark/hooks","issue_events_url":"https://api.github.com/repos/rozza/mongo-spark/issues/events{/number}","events_url":"https://api.github.com/repos/rozza/mongo-spark/events","assignees_url":"https://api.github.com/repos/rozza/mongo-spark/assignees{/user}","branches_url":"https://api.github.com/repos/rozza/mongo-spark/branches{/branch}","tags_url":"https://api.github.com/repos/rozza/mongo-spark/tags","blobs_url":"https://api.github.com/repos/rozza/mongo-spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rozza/mongo-spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rozza/mongo-spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/rozza/mongo-spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rozza/mongo-spark/statuses/{sha}","languages_url":"https://api.github.com/repos/rozza/mongo-spark/languages","stargazers_url":"https://api.github.com/repos/rozza/mongo-spark/stargazers","contributors_url":"https://api.github.com/repos/rozza/mongo-spark/contributors","subscribers_url":"https://api.github.com/repos/rozza/mongo-spark/subscribers","subscription_url":"https://api.github.com/repos/rozza/mongo-spark/subscription","commits_url":"https://api.github.com/repos/rozza/mongo-spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/rozza/mongo-spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/rozza/mongo-spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/rozza/mongo-spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/rozza/mongo-spark/contents/{+path}","compare_url":"https://api.github.com/repos/rozza/mongo-spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rozza/mongo-spark/merges","archive_url":"https://api.github.com/repos/rozza/mongo-spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rozza/mongo-spark/downloads","issues_url":"https://api.github.com/repos/rozza/mongo-spark/issues{/number}","pulls_url":"https://api.github.com/repos/rozza/mongo-spark/pulls{/number}","milestones_url":"https://api.github.com/repos/rozza/mongo-spark/milestones{/number}","notifications_url":"https://api.github.com/repos/rozza/mongo-spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rozza/mongo-spark/labels{/name}","releases_url":"https://api.github.com/repos/rozza/mongo-spark/releases{/id}","deployments_url":"https://api.github.com/repos/rozza/mongo-spark/deployments","created_at":"2015-11-21T18:59:05Z","updated_at":"2016-02-27T06:51:43Z","pushed_at":"2016-03-31T16:15:43Z","git_url":"git://github.com/rozza/mongo-spark.git","ssh_url":"git@github.com:rozza/mongo-spark.git","clone_url":"https://github.com/rozza/mongo-spark.git","svn_url":"https://github.com/rozza/mongo-spark","homepage":null,"size":1389,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rozza:master","ref":"master","sha":"8f728c20bfca7bb5d16ba8c14153ba7c25495b70","user":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"repo":{"id":46629106,"name":"mongo-spark","full_name":"rozza/mongo-spark","owner":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rozza/mongo-spark","description":"","fork":true,"url":"https://api.github.com/repos/rozza/mongo-spark","forks_url":"https://api.github.com/repos/rozza/mongo-spark/forks","keys_url":"https://api.github.com/repos/rozza/mongo-spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rozza/mongo-spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rozza/mongo-spark/teams","hooks_url":"https://api.github.com/repos/rozza/mongo-spark/hooks","issue_events_url":"https://api.github.com/repos/rozza/mongo-spark/issues/events{/number}","events_url":"https://api.github.com/repos/rozza/mongo-spark/events","assignees_url":"https://api.github.com/repos/rozza/mongo-spark/assignees{/user}","branches_url":"https://api.github.com/repos/rozza/mongo-spark/branches{/branch}","tags_url":"https://api.github.com/repos/rozza/mongo-spark/tags","blobs_url":"https://api.github.com/repos/rozza/mongo-spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rozza/mongo-spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rozza/mongo-spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/rozza/mongo-spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rozza/mongo-spark/statuses/{sha}","languages_url":"https://api.github.com/repos/rozza/mongo-spark/languages","stargazers_url":"https://api.github.com/repos/rozza/mongo-spark/stargazers","contributors_url":"https://api.github.com/repos/rozza/mongo-spark/contributors","subscribers_url":"https://api.github.com/repos/rozza/mongo-spark/subscribers","subscription_url":"https://api.github.com/repos/rozza/mongo-spark/subscription","commits_url":"https://api.github.com/repos/rozza/mongo-spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/rozza/mongo-spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/rozza/mongo-spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/rozza/mongo-spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/rozza/mongo-spark/contents/{+path}","compare_url":"https://api.github.com/repos/rozza/mongo-spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rozza/mongo-spark/merges","archive_url":"https://api.github.com/repos/rozza/mongo-spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rozza/mongo-spark/downloads","issues_url":"https://api.github.com/repos/rozza/mongo-spark/issues{/number}","pulls_url":"https://api.github.com/repos/rozza/mongo-spark/pulls{/number}","milestones_url":"https://api.github.com/repos/rozza/mongo-spark/milestones{/number}","notifications_url":"https://api.github.com/repos/rozza/mongo-spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rozza/mongo-spark/labels{/name}","releases_url":"https://api.github.com/repos/rozza/mongo-spark/releases{/id}","deployments_url":"https://api.github.com/repos/rozza/mongo-spark/deployments","created_at":"2015-11-21T18:59:05Z","updated_at":"2016-02-27T06:51:43Z","pushed_at":"2016-03-31T16:15:43Z","git_url":"git://github.com/rozza/mongo-spark.git","ssh_url":"git@github.com:rozza/mongo-spark.git","clone_url":"https://github.com/rozza/mongo-spark.git","svn_url":"https://github.com/rozza/mongo-spark","homepage":null,"size":1389,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rozza/mongo-spark/pulls/15"},"html":{"href":"https://github.com/rozza/mongo-spark/pull/15"},"issue":{"href":"https://api.github.com/repos/rozza/mongo-spark/issues/15"},"comments":{"href":"https://api.github.com/repos/rozza/mongo-spark/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/rozza/mongo-spark/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/rozza/mongo-spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rozza/mongo-spark/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/rozza/mongo-spark/statuses/8488c613592289c843db48903c3ac480b15e3a4b"}}}}