{"action":"closed","number":410,"pull_request":{"url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/410","id":161928007,"html_url":"https://github.com/influxdata/influxdb-java/pull/410","diff_url":"https://github.com/influxdata/influxdb-java/pull/410.diff","patch_url":"https://github.com/influxdata/influxdb-java/pull/410.patch","issue_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/410","number":410,"state":"closed","locked":false,"title":"Improve error handling and implement data point write retry if makes sense","user":{"login":"dubsky","id":5889531,"avatar_url":"https://avatars3.githubusercontent.com/u/5889531?v=4","gravatar_id":"","url":"https://api.github.com/users/dubsky","html_url":"https://github.com/dubsky","followers_url":"https://api.github.com/users/dubsky/followers","following_url":"https://api.github.com/users/dubsky/following{/other_user}","gists_url":"https://api.github.com/users/dubsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dubsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubsky/subscriptions","organizations_url":"https://api.github.com/users/dubsky/orgs","repos_url":"https://api.github.com/users/dubsky/repos","events_url":"https://api.github.com/users/dubsky/events{/privacy}","received_events_url":"https://api.github.com/users/dubsky/received_events","type":"User","site_admin":false},"body":"This pull request implements a feature where clients try to retry a write of DataPoints into Influx when the previous write failed and there is a chance that retry will be successful. The behavior and default settings are consistent with Telegraf default settings and behaviour.\r\n\r\nThere is a new BatchWriter interface with two implementations: OneShotBatchWriter which is the original behavior and RetryCapableBatchWriter which is the new one. To use the feature the InfluxDB.enableBatch(BatchOptions) constructor must be used.\r\n\r\n  ","created_at":"2018-01-09T17:13:43Z","updated_at":"2018-02-20T08:36:27Z","closed_at":"2018-02-20T08:36:27Z","merged_at":"2018-02-20T08:36:27Z","merge_commit_sha":"4b5d23b20bf7ad327c68e75efb160832f5906ac0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"majst01","id":410110,"avatar_url":"https://avatars3.githubusercontent.com/u/410110?v=4","gravatar_id":"","url":"https://api.github.com/users/majst01","html_url":"https://github.com/majst01","followers_url":"https://api.github.com/users/majst01/followers","following_url":"https://api.github.com/users/majst01/following{/other_user}","gists_url":"https://api.github.com/users/majst01/gists{/gist_id}","starred_url":"https://api.github.com/users/majst01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majst01/subscriptions","organizations_url":"https://api.github.com/users/majst01/orgs","repos_url":"https://api.github.com/users/majst01/repos","events_url":"https://api.github.com/users/majst01/events{/privacy}","received_events_url":"https://api.github.com/users/majst01/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/410/commits","review_comments_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/410/comments","review_comment_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/410/comments","statuses_url":"https://api.github.com/repos/influxdata/influxdb-java/statuses/3562a1a658aa69a2ec3d00dd91a4d2926de02fae","head":{"label":"influxdata:features/error-handling","ref":"features/error-handling","sha":"3562a1a658aa69a2ec3d00dd91a4d2926de02fae","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":19323986,"name":"influxdb-java","full_name":"influxdata/influxdb-java","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/influxdb-java","description":"Java client for InfluxDB","fork":false,"url":"https://api.github.com/repos/influxdata/influxdb-java","forks_url":"https://api.github.com/repos/influxdata/influxdb-java/forks","keys_url":"https://api.github.com/repos/influxdata/influxdb-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/influxdb-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/influxdb-java/teams","hooks_url":"https://api.github.com/repos/influxdata/influxdb-java/hooks","issue_events_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/influxdb-java/events","assignees_url":"https://api.github.com/repos/influxdata/influxdb-java/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/influxdb-java/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/influxdb-java/tags","blobs_url":"https://api.github.com/repos/influxdata/influxdb-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/influxdb-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/influxdb-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/influxdb-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/influxdb-java/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/influxdb-java/languages","stargazers_url":"https://api.github.com/repos/influxdata/influxdb-java/stargazers","contributors_url":"https://api.github.com/repos/influxdata/influxdb-java/contributors","subscribers_url":"https://api.github.com/repos/influxdata/influxdb-java/subscribers","subscription_url":"https://api.github.com/repos/influxdata/influxdb-java/subscription","commits_url":"https://api.github.com/repos/influxdata/influxdb-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/influxdb-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/influxdb-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/influxdb-java/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/influxdb-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/influxdb-java/merges","archive_url":"https://api.github.com/repos/influxdata/influxdb-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/influxdb-java/downloads","issues_url":"https://api.github.com/repos/influxdata/influxdb-java/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/influxdb-java/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/influxdb-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/influxdb-java/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/influxdb-java/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/influxdb-java/deployments","created_at":"2014-04-30T18:56:32Z","updated_at":"2018-02-19T14:01:44Z","pushed_at":"2018-02-20T08:36:26Z","git_url":"git://github.com/influxdata/influxdb-java.git","ssh_url":"git@github.com:influxdata/influxdb-java.git","clone_url":"https://github.com/influxdata/influxdb-java.git","svn_url":"https://github.com/influxdata/influxdb-java","homepage":null,"size":664,"stargazers_count":432,"watchers_count":432,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":265,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":265,"open_issues":51,"watchers":432,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"b703db457d50fb0717b34b3873311e732d8ad288","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":19323986,"name":"influxdb-java","full_name":"influxdata/influxdb-java","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/influxdb-java","description":"Java client for InfluxDB","fork":false,"url":"https://api.github.com/repos/influxdata/influxdb-java","forks_url":"https://api.github.com/repos/influxdata/influxdb-java/forks","keys_url":"https://api.github.com/repos/influxdata/influxdb-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/influxdb-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/influxdb-java/teams","hooks_url":"https://api.github.com/repos/influxdata/influxdb-java/hooks","issue_events_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/influxdb-java/events","assignees_url":"https://api.github.com/repos/influxdata/influxdb-java/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/influxdb-java/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/influxdb-java/tags","blobs_url":"https://api.github.com/repos/influxdata/influxdb-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/influxdb-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/influxdb-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/influxdb-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/influxdb-java/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/influxdb-java/languages","stargazers_url":"https://api.github.com/repos/influxdata/influxdb-java/stargazers","contributors_url":"https://api.github.com/repos/influxdata/influxdb-java/contributors","subscribers_url":"https://api.github.com/repos/influxdata/influxdb-java/subscribers","subscription_url":"https://api.github.com/repos/influxdata/influxdb-java/subscription","commits_url":"https://api.github.com/repos/influxdata/influxdb-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/influxdb-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/influxdb-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/influxdb-java/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/influxdb-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/influxdb-java/merges","archive_url":"https://api.github.com/repos/influxdata/influxdb-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/influxdb-java/downloads","issues_url":"https://api.github.com/repos/influxdata/influxdb-java/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/influxdb-java/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/influxdb-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/influxdb-java/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/influxdb-java/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/influxdb-java/deployments","created_at":"2014-04-30T18:56:32Z","updated_at":"2018-02-19T14:01:44Z","pushed_at":"2018-02-20T08:36:26Z","git_url":"git://github.com/influxdata/influxdb-java.git","ssh_url":"git@github.com:influxdata/influxdb-java.git","clone_url":"https://github.com/influxdata/influxdb-java.git","svn_url":"https://github.com/influxdata/influxdb-java","homepage":null,"size":664,"stargazers_count":432,"watchers_count":432,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":265,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":265,"open_issues":51,"watchers":432,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/410"},"html":{"href":"https://github.com/influxdata/influxdb-java/pull/410"},"issue":{"href":"https://api.github.com/repos/influxdata/influxdb-java/issues/410"},"comments":{"href":"https://api.github.com/repos/influxdata/influxdb-java/issues/410/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/410/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/410/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/influxdb-java/statuses/3562a1a658aa69a2ec3d00dd91a4d2926de02fae"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"majst01","id":410110,"avatar_url":"https://avatars3.githubusercontent.com/u/410110?v=4","gravatar_id":"","url":"https://api.github.com/users/majst01","html_url":"https://github.com/majst01","followers_url":"https://api.github.com/users/majst01/followers","following_url":"https://api.github.com/users/majst01/following{/other_user}","gists_url":"https://api.github.com/users/majst01/gists{/gist_id}","starred_url":"https://api.github.com/users/majst01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majst01/subscriptions","organizations_url":"https://api.github.com/users/majst01/orgs","repos_url":"https://api.github.com/users/majst01/repos","events_url":"https://api.github.com/users/majst01/events{/privacy}","received_events_url":"https://api.github.com/users/majst01/received_events","type":"User","site_admin":false},"comments":25,"review_comments":8,"maintainer_can_modify":false,"commits":30,"additions":1232,"deletions":52,"changed_files":17}}
{"actor":{"display_login":"majst01"}}