{"action":"created","comment":{"url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/comments/180866856","pull_request_review_id":111365325,"id":180866856,"diff_hunk":"@@ -0,0 +1,114 @@\n+/*\n+ * Copyright Debezium Authors.\n+ *\n+ * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0\n+ */\n+package io.debezium.example.endtoend.vertx;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+import java.util.concurrent.ConcurrentHashMap;\n+\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import io.netty.handler.codec.http.HttpResponseStatus;\n+import io.vertx.core.Vertx;\n+import io.vertx.core.json.JsonObject;\n+import io.vertx.reactivex.config.ConfigRetriever;\n+import io.vertx.reactivex.core.AbstractVerticle;\n+import io.vertx.reactivex.core.buffer.Buffer;\n+import io.vertx.reactivex.core.http.ServerWebSocket;\n+import io.vertx.reactivex.core.net.SocketAddress;\n+import io.vertx.reactivex.kafka.client.consumer.KafkaConsumer;\n+\n+public class Verticle extends AbstractVerticle {\n+\n+    private static final String CONF_BOOTSTRAP_SERVERS = \"bootstrap.servers\";\n+    private static final String CONF_TOPIC = \"demo.topic\";\n+    private static final String CONF_PORT = \"demo.port\";\n+\n+    private static final Logger LOG = LoggerFactory.getLogger(Verticle.class);\n+\n+    @Override\n+    public void start() throws Exception {\n+        final Map<SocketAddress, ServerWebSocket> sockets = new ConcurrentHashMap<>();\n+\n+        config().put(CONF_BOOTSTRAP_SERVERS, \"localhost:9092\");","path":"end-to-end-demo/debezium-vertx-demo/src/main/java/io/debezium/example/endtoend/vertx/Verticle.java","position":37,"original_position":37,"commit_id":"5ddc0af8f64530f8c0ac98140d5ab34988d5c3a0","original_commit_id":"5ddc0af8f64530f8c0ac98140d5ab34988d5c3a0","user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars2.githubusercontent.com/u/28612?v=4","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"body":"Indeed localhost? Not kafka?","created_at":"2018-04-11T19:11:13Z","updated_at":"2018-04-11T19:11:45Z","html_url":"https://github.com/gunnarmorling/debezium-examples/pull/1#discussion_r180866856","pull_request_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/comments/180866856"},"html":{"href":"https://github.com/gunnarmorling/debezium-examples/pull/1#discussion_r180866856"},"pull_request":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1","id":180789936,"html_url":"https://github.com/gunnarmorling/debezium-examples/pull/1","diff_url":"https://github.com/gunnarmorling/debezium-examples/pull/1.diff","patch_url":"https://github.com/gunnarmorling/debezium-examples/pull/1.patch","issue_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues/1","number":1,"state":"open","locked":false,"title":" Vert.x demo","user":{"login":"jpechane","id":650600,"avatar_url":"https://avatars1.githubusercontent.com/u/650600?v=4","gravatar_id":"","url":"https://api.github.com/users/jpechane","html_url":"https://github.com/jpechane","followers_url":"https://api.github.com/users/jpechane/followers","following_url":"https://api.github.com/users/jpechane/following{/other_user}","gists_url":"https://api.github.com/users/jpechane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpechane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpechane/subscriptions","organizations_url":"https://api.github.com/users/jpechane/orgs","repos_url":"https://api.github.com/users/jpechane/repos","events_url":"https://api.github.com/users/jpechane/events{/privacy}","received_events_url":"https://api.github.com/users/jpechane/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-11T04:52:44Z","updated_at":"2018-04-11T19:11:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7ca23bc593b63171f28453377423b717f0ef237","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues/1/comments","statuses_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/statuses/5ddc0af8f64530f8c0ac98140d5ab34988d5c3a0","head":{"label":"jpechane:vertx","ref":"vertx","sha":"5ddc0af8f64530f8c0ac98140d5ab34988d5c3a0","user":{"login":"jpechane","id":650600,"avatar_url":"https://avatars1.githubusercontent.com/u/650600?v=4","gravatar_id":"","url":"https://api.github.com/users/jpechane","html_url":"https://github.com/jpechane","followers_url":"https://api.github.com/users/jpechane/followers","following_url":"https://api.github.com/users/jpechane/following{/other_user}","gists_url":"https://api.github.com/users/jpechane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpechane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpechane/subscriptions","organizations_url":"https://api.github.com/users/jpechane/orgs","repos_url":"https://api.github.com/users/jpechane/repos","events_url":"https://api.github.com/users/jpechane/events{/privacy}","received_events_url":"https://api.github.com/users/jpechane/received_events","type":"User","site_admin":false},"repo":{"id":101033273,"name":"debezium-examples","full_name":"jpechane/debezium-examples","owner":{"login":"jpechane","id":650600,"avatar_url":"https://avatars1.githubusercontent.com/u/650600?v=4","gravatar_id":"","url":"https://api.github.com/users/jpechane","html_url":"https://github.com/jpechane","followers_url":"https://api.github.com/users/jpechane/followers","following_url":"https://api.github.com/users/jpechane/following{/other_user}","gists_url":"https://api.github.com/users/jpechane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpechane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpechane/subscriptions","organizations_url":"https://api.github.com/users/jpechane/orgs","repos_url":"https://api.github.com/users/jpechane/repos","events_url":"https://api.github.com/users/jpechane/events{/privacy}","received_events_url":"https://api.github.com/users/jpechane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpechane/debezium-examples","description":"Examples for running Debezium (Configuration, Docker Compose files etc.)","fork":true,"url":"https://api.github.com/repos/jpechane/debezium-examples","forks_url":"https://api.github.com/repos/jpechane/debezium-examples/forks","keys_url":"https://api.github.com/repos/jpechane/debezium-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpechane/debezium-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpechane/debezium-examples/teams","hooks_url":"https://api.github.com/repos/jpechane/debezium-examples/hooks","issue_events_url":"https://api.github.com/repos/jpechane/debezium-examples/issues/events{/number}","events_url":"https://api.github.com/repos/jpechane/debezium-examples/events","assignees_url":"https://api.github.com/repos/jpechane/debezium-examples/assignees{/user}","branches_url":"https://api.github.com/repos/jpechane/debezium-examples/branches{/branch}","tags_url":"https://api.github.com/repos/jpechane/debezium-examples/tags","blobs_url":"https://api.github.com/repos/jpechane/debezium-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpechane/debezium-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpechane/debezium-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpechane/debezium-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpechane/debezium-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/jpechane/debezium-examples/languages","stargazers_url":"https://api.github.com/repos/jpechane/debezium-examples/stargazers","contributors_url":"https://api.github.com/repos/jpechane/debezium-examples/contributors","subscribers_url":"https://api.github.com/repos/jpechane/debezium-examples/subscribers","subscription_url":"https://api.github.com/repos/jpechane/debezium-examples/subscription","commits_url":"https://api.github.com/repos/jpechane/debezium-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpechane/debezium-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpechane/debezium-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpechane/debezium-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpechane/debezium-examples/contents/{+path}","compare_url":"https://api.github.com/repos/jpechane/debezium-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpechane/debezium-examples/merges","archive_url":"https://api.github.com/repos/jpechane/debezium-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpechane/debezium-examples/downloads","issues_url":"https://api.github.com/repos/jpechane/debezium-examples/issues{/number}","pulls_url":"https://api.github.com/repos/jpechane/debezium-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/jpechane/debezium-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/jpechane/debezium-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpechane/debezium-examples/labels{/name}","releases_url":"https://api.github.com/repos/jpechane/debezium-examples/releases{/id}","deployments_url":"https://api.github.com/repos/jpechane/debezium-examples/deployments","created_at":"2017-08-22T07:15:18Z","updated_at":"2017-07-27T17:11:43Z","pushed_at":"2018-04-11T04:51:53Z","git_url":"git://github.com/jpechane/debezium-examples.git","ssh_url":"git@github.com:jpechane/debezium-examples.git","clone_url":"https://github.com/jpechane/debezium-examples.git","svn_url":"https://github.com/jpechane/debezium-examples","homepage":null,"size":2091,"stargazers_count":0,"watchers_count":0,"language":null,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gunnarmorling:master","ref":"master","sha":"bc598cfba995de14a010f0195cdc3ffac531f17a","user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars2.githubusercontent.com/u/28612?v=4","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"repo":{"id":104925240,"name":"debezium-examples","full_name":"gunnarmorling/debezium-examples","owner":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars2.githubusercontent.com/u/28612?v=4","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gunnarmorling/debezium-examples","description":"Examples for running Debezium (Configuration, Docker Compose files etc.)","fork":true,"url":"https://api.github.com/repos/gunnarmorling/debezium-examples","forks_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/forks","keys_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/teams","hooks_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/hooks","issue_events_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues/events{/number}","events_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/events","assignees_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/assignees{/user}","branches_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/branches{/branch}","tags_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/tags","blobs_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/languages","stargazers_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/stargazers","contributors_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/contributors","subscribers_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/subscribers","subscription_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/subscription","commits_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/contents/{+path}","compare_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/merges","archive_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/downloads","issues_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues{/number}","pulls_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/labels{/name}","releases_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/releases{/id}","deployments_url":"https://api.github.com/repos/gunnarmorling/debezium-examples/deployments","created_at":"2017-09-26T18:52:10Z","updated_at":"2018-03-29T10:33:22Z","pushed_at":"2018-04-11T04:52:46Z","git_url":"git://github.com/gunnarmorling/debezium-examples.git","ssh_url":"git@github.com:gunnarmorling/debezium-examples.git","clone_url":"https://github.com/gunnarmorling/debezium-examples.git","svn_url":"https://github.com/gunnarmorling/debezium-examples","homepage":null,"size":2090,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1"},"html":{"href":"https://github.com/gunnarmorling/debezium-examples/pull/1"},"issue":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues/1"},"comments":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gunnarmorling/debezium-examples/statuses/5ddc0af8f64530f8c0ac98140d5ab34988d5c3a0"}},"author_association":"NONE"}}
{"actor":{"display_login":"gunnarmorling"}}