{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-pulsar/pulls/comments/212716931","pull_request_review_id":149410465,"id":212716931,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjcxNjkzMQ==","diff_hunk":"@@ -0,0 +1,22 @@\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements.  See the NOTICE file\n+# distributed with this work for additional information\n+# regarding copyright ownership.  The ASF licenses this file\n+# to you under the Apache License, Version 2.0 (the\n+# \"License\"); you may not use this file except in compliance\n+# with the License.  You may obtain a copy of the License at\n+#\n+#   http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing,\n+# software distributed under the License is distributed on an\n+# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+# KIND, either express or implied.  See the License for the\n+# specific language governing permissions and limitations\n+# under the License.\n+#\n+\n+name: jdbc\n+description: Jdbc sink\n+sinkClass: org.apache.pulsar.io.jdbc.JdbcStringSink","path":"pulsar-io/jdbc/src/main/resources/META-INF/services/pulsar-io.yaml","position":22,"original_position":22,"commit_id":"bf8f5d14f36ce2377a43368fbcdc2a1faa91ceb9","original_commit_id":"bf8f5d14f36ce2377a43368fbcdc2a1faa91ceb9","user":{"login":"sijie","id":1217863,"node_id":"MDQ6VXNlcjEyMTc4NjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1217863?v=4","gravatar_id":"","url":"https://api.github.com/users/sijie","html_url":"https://github.com/sijie","followers_url":"https://api.github.com/users/sijie/followers","following_url":"https://api.github.com/users/sijie/following{/other_user}","gists_url":"https://api.github.com/users/sijie/gists{/gist_id}","starred_url":"https://api.github.com/users/sijie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sijie/subscriptions","organizations_url":"https://api.github.com/users/sijie/orgs","repos_url":"https://api.github.com/users/sijie/repos","events_url":"https://api.github.com/users/sijie/events{/privacy}","received_events_url":"https://api.github.com/users/sijie/received_events","type":"User","site_admin":false},"body":"this should be org.apache.pulsar.io.jdbc.JdbcAvroSink","created_at":"2018-08-24T18:29:42Z","updated_at":"2018-08-24T18:33:28Z","html_url":"https://github.com/apache/incubator-pulsar/pull/2440#discussion_r212716931","pull_request_url":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-pulsar/pulls/comments/212716931"},"html":{"href":"https://github.com/apache/incubator-pulsar/pull/2440#discussion_r212716931"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440","id":210771250,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNzcxMjUw","html_url":"https://github.com/apache/incubator-pulsar/pull/2440","diff_url":"https://github.com/apache/incubator-pulsar/pull/2440.diff","patch_url":"https://github.com/apache/incubator-pulsar/pull/2440.patch","issue_url":"https://api.github.com/repos/apache/incubator-pulsar/issues/2440","number":2440,"state":"open","locked":false,"title":"Issue 2313: create a JDBC sink connector","user":{"login":"jiazhai","id":6348208,"node_id":"MDQ6VXNlcjYzNDgyMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6348208?v=4","gravatar_id":"","url":"https://api.github.com/users/jiazhai","html_url":"https://github.com/jiazhai","followers_url":"https://api.github.com/users/jiazhai/followers","following_url":"https://api.github.com/users/jiazhai/following{/other_user}","gists_url":"https://api.github.com/users/jiazhai/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazhai/subscriptions","organizations_url":"https://api.github.com/users/jiazhai/orgs","repos_url":"https://api.github.com/users/jiazhai/repos","events_url":"https://api.github.com/users/jiazhai/events{/privacy}","received_events_url":"https://api.github.com/users/jiazhai/received_events","type":"User","site_admin":false},"body":"### Motivation\r\n\r\nThis change is trying to add a basic JDBC sink connector. \r\n\r\n### Modifications\r\n\r\nAdd the jdbc module to the pulsar-io sub-module.\r\nAdd unit test and integration test for it.\r\n\r\n### Result\r\n\r\nut and integration test pass.\r\n","created_at":"2018-08-24T15:17:53Z","updated_at":"2018-08-24T18:33:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"028db9eaaf0b12046673d38a50f103554518003c","assignee":{"login":"jiazhai","id":6348208,"node_id":"MDQ6VXNlcjYzNDgyMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6348208?v=4","gravatar_id":"","url":"https://api.github.com/users/jiazhai","html_url":"https://github.com/jiazhai","followers_url":"https://api.github.com/users/jiazhai/followers","following_url":"https://api.github.com/users/jiazhai/following{/other_user}","gists_url":"https://api.github.com/users/jiazhai/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazhai/subscriptions","organizations_url":"https://api.github.com/users/jiazhai/orgs","repos_url":"https://api.github.com/users/jiazhai/repos","events_url":"https://api.github.com/users/jiazhai/events{/privacy}","received_events_url":"https://api.github.com/users/jiazhai/received_events","type":"User","site_admin":false},"assignees":[{"login":"jiazhai","id":6348208,"node_id":"MDQ6VXNlcjYzNDgyMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6348208?v=4","gravatar_id":"","url":"https://api.github.com/users/jiazhai","html_url":"https://github.com/jiazhai","followers_url":"https://api.github.com/users/jiazhai/followers","following_url":"https://api.github.com/users/jiazhai/following{/other_user}","gists_url":"https://api.github.com/users/jiazhai/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazhai/subscriptions","organizations_url":"https://api.github.com/users/jiazhai/orgs","repos_url":"https://api.github.com/users/jiazhai/repos","events_url":"https://api.github.com/users/jiazhai/events{/privacy}","received_events_url":"https://api.github.com/users/jiazhai/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":897535352,"node_id":"MDU6TGFiZWw4OTc1MzUzNTI=","url":"https://api.github.com/repos/apache/incubator-pulsar/labels/component/connect","name":"component/connect","color":"1d76db","default":false},{"id":1025452684,"node_id":"MDU6TGFiZWwxMDI1NDUyNjg0","url":"https://api.github.com/repos/apache/incubator-pulsar/labels/component/io","name":"component/io","color":"f984a1","default":false},{"id":493495385,"node_id":"MDU6TGFiZWw0OTM0OTUzODU=","url":"https://api.github.com/repos/apache/incubator-pulsar/labels/type/feature","name":"type/feature","color":"5319e7","default":false}],"milestone":{"url":"https://api.github.com/repos/apache/incubator-pulsar/milestones/16","html_url":"https://github.com/apache/incubator-pulsar/milestone/16","labels_url":"https://api.github.com/repos/apache/incubator-pulsar/milestones/16/labels","id":3433482,"node_id":"MDk6TWlsZXN0b25lMzQzMzQ4Mg==","number":16,"title":"2.2.0-incubating","description":"","creator":{"login":"sijie","id":1217863,"node_id":"MDQ6VXNlcjEyMTc4NjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1217863?v=4","gravatar_id":"","url":"https://api.github.com/users/sijie","html_url":"https://github.com/sijie","followers_url":"https://api.github.com/users/sijie/followers","following_url":"https://api.github.com/users/sijie/following{/other_user}","gists_url":"https://api.github.com/users/sijie/gists{/gist_id}","starred_url":"https://api.github.com/users/sijie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sijie/subscriptions","organizations_url":"https://api.github.com/users/sijie/orgs","repos_url":"https://api.github.com/users/sijie/repos","events_url":"https://api.github.com/users/sijie/events{/privacy}","received_events_url":"https://api.github.com/users/sijie/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":176,"state":"open","created_at":"2018-06-18T20:11:19Z","updated_at":"2018-08-24T17:58:42Z","due_on":"2018-08-23T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-pulsar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-pulsar/issues/2440/comments","statuses_url":"https://api.github.com/repos/apache/incubator-pulsar/statuses/bf8f5d14f36ce2377a43368fbcdc2a1faa91ceb9","head":{"label":"jiazhai:issue_2313","ref":"issue_2313","sha":"bf8f5d14f36ce2377a43368fbcdc2a1faa91ceb9","user":{"login":"jiazhai","id":6348208,"node_id":"MDQ6VXNlcjYzNDgyMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6348208?v=4","gravatar_id":"","url":"https://api.github.com/users/jiazhai","html_url":"https://github.com/jiazhai","followers_url":"https://api.github.com/users/jiazhai/followers","following_url":"https://api.github.com/users/jiazhai/following{/other_user}","gists_url":"https://api.github.com/users/jiazhai/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazhai/subscriptions","organizations_url":"https://api.github.com/users/jiazhai/orgs","repos_url":"https://api.github.com/users/jiazhai/repos","events_url":"https://api.github.com/users/jiazhai/events{/privacy}","received_events_url":"https://api.github.com/users/jiazhai/received_events","type":"User","site_admin":false},"repo":{"id":100389285,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzODkyODU=","name":"pulsar","full_name":"jiazhai/pulsar","owner":{"login":"jiazhai","id":6348208,"node_id":"MDQ6VXNlcjYzNDgyMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6348208?v=4","gravatar_id":"","url":"https://api.github.com/users/jiazhai","html_url":"https://github.com/jiazhai","followers_url":"https://api.github.com/users/jiazhai/followers","following_url":"https://api.github.com/users/jiazhai/following{/other_user}","gists_url":"https://api.github.com/users/jiazhai/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazhai/subscriptions","organizations_url":"https://api.github.com/users/jiazhai/orgs","repos_url":"https://api.github.com/users/jiazhai/repos","events_url":"https://api.github.com/users/jiazhai/events{/privacy}","received_events_url":"https://api.github.com/users/jiazhai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiazhai/pulsar","description":"Pulsar - distributed pub-sub messaging system","fork":true,"url":"https://api.github.com/repos/jiazhai/pulsar","forks_url":"https://api.github.com/repos/jiazhai/pulsar/forks","keys_url":"https://api.github.com/repos/jiazhai/pulsar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiazhai/pulsar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiazhai/pulsar/teams","hooks_url":"https://api.github.com/repos/jiazhai/pulsar/hooks","issue_events_url":"https://api.github.com/repos/jiazhai/pulsar/issues/events{/number}","events_url":"https://api.github.com/repos/jiazhai/pulsar/events","assignees_url":"https://api.github.com/repos/jiazhai/pulsar/assignees{/user}","branches_url":"https://api.github.com/repos/jiazhai/pulsar/branches{/branch}","tags_url":"https://api.github.com/repos/jiazhai/pulsar/tags","blobs_url":"https://api.github.com/repos/jiazhai/pulsar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiazhai/pulsar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiazhai/pulsar/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiazhai/pulsar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiazhai/pulsar/statuses/{sha}","languages_url":"https://api.github.com/repos/jiazhai/pulsar/languages","stargazers_url":"https://api.github.com/repos/jiazhai/pulsar/stargazers","contributors_url":"https://api.github.com/repos/jiazhai/pulsar/contributors","subscribers_url":"https://api.github.com/repos/jiazhai/pulsar/subscribers","subscription_url":"https://api.github.com/repos/jiazhai/pulsar/subscription","commits_url":"https://api.github.com/repos/jiazhai/pulsar/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiazhai/pulsar/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiazhai/pulsar/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiazhai/pulsar/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiazhai/pulsar/contents/{+path}","compare_url":"https://api.github.com/repos/jiazhai/pulsar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiazhai/pulsar/merges","archive_url":"https://api.github.com/repos/jiazhai/pulsar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiazhai/pulsar/downloads","issues_url":"https://api.github.com/repos/jiazhai/pulsar/issues{/number}","pulls_url":"https://api.github.com/repos/jiazhai/pulsar/pulls{/number}","milestones_url":"https://api.github.com/repos/jiazhai/pulsar/milestones{/number}","notifications_url":"https://api.github.com/repos/jiazhai/pulsar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiazhai/pulsar/labels{/name}","releases_url":"https://api.github.com/repos/jiazhai/pulsar/releases{/id}","deployments_url":"https://api.github.com/repos/jiazhai/pulsar/deployments","created_at":"2017-08-15T15:05:53Z","updated_at":"2018-08-21T14:47:56Z","pushed_at":"2018-08-24T15:12:40Z","git_url":"git://github.com/jiazhai/pulsar.git","ssh_url":"git@github.com:jiazhai/pulsar.git","clone_url":"https://github.com/jiazhai/pulsar.git","svn_url":"https://github.com/jiazhai/pulsar","homepage":"https://pulsar.incubator.apache.org","size":38810,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"024d2e0ea3b8e7e3b26f5e658b449a0861f3112d","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":62117812,"node_id":"MDEwOlJlcG9zaXRvcnk2MjExNzgxMg==","name":"incubator-pulsar","full_name":"apache/incubator-pulsar","owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-pulsar","description":"Pulsar - distributed pub-sub messaging system","fork":false,"url":"https://api.github.com/repos/apache/incubator-pulsar","forks_url":"https://api.github.com/repos/apache/incubator-pulsar/forks","keys_url":"https://api.github.com/repos/apache/incubator-pulsar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-pulsar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-pulsar/teams","hooks_url":"https://api.github.com/repos/apache/incubator-pulsar/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-pulsar/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-pulsar/events","assignees_url":"https://api.github.com/repos/apache/incubator-pulsar/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-pulsar/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-pulsar/tags","blobs_url":"https://api.github.com/repos/apache/incubator-pulsar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-pulsar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-pulsar/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-pulsar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-pulsar/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-pulsar/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-pulsar/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-pulsar/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-pulsar/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-pulsar/subscription","commits_url":"https://api.github.com/repos/apache/incubator-pulsar/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-pulsar/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-pulsar/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-pulsar/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-pulsar/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-pulsar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-pulsar/merges","archive_url":"https://api.github.com/repos/apache/incubator-pulsar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-pulsar/downloads","issues_url":"https://api.github.com/repos/apache/incubator-pulsar/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-pulsar/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-pulsar/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-pulsar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-pulsar/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-pulsar/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-pulsar/deployments","created_at":"2016-06-28T07:00:03Z","updated_at":"2018-08-24T17:58:50Z","pushed_at":"2018-08-24T18:25:49Z","git_url":"git://github.com/apache/incubator-pulsar.git","ssh_url":"git@github.com:apache/incubator-pulsar.git","clone_url":"https://github.com/apache/incubator-pulsar.git","svn_url":"https://github.com/apache/incubator-pulsar","homepage":"https://pulsar.incubator.apache.org","size":56645,"stargazers_count":1921,"watchers_count":1921,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":401,"mirror_url":null,"archived":false,"open_issues_count":178,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":401,"open_issues":178,"watchers":1921,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440"},"html":{"href":"https://github.com/apache/incubator-pulsar/pull/2440"},"issue":{"href":"https://api.github.com/repos/apache/incubator-pulsar/issues/2440"},"comments":{"href":"https://api.github.com/repos/apache/incubator-pulsar/issues/2440/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-pulsar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-pulsar/pulls/2440/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-pulsar/statuses/bf8f5d14f36ce2377a43368fbcdc2a1faa91ceb9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sijie"}}