{"action":"created","comment":{"url":"https://api.github.com/repos/confluentinc/examples/pulls/comments/77814337","id":77814337,"diff_hunk":"@@ -0,0 +1,152 @@\n+package io.confluent.examples.streams;\n+\n+\n+import org.apache.kafka.clients.consumer.ConsumerConfig;\n+import org.apache.kafka.common.serialization.Serdes;\n+import org.apache.kafka.streams.KafkaStreams;\n+import org.apache.kafka.streams.StreamsConfig;\n+import org.apache.kafka.streams.kstream.KStream;\n+import org.apache.kafka.streams.kstream.KStreamBuilder;\n+import org.apache.kafka.streams.kstream.KeyValueMapper;\n+\n+import java.util.Properties;\n+\n+/**\n+ * Demonstrates how to reset a Kafka Streams application to re-process its input data from scratch.\n+ * <p>\n+ * The main purpose of the example is to explain the usage of the \"Application Reset Tool\".\n+ * Thus, we don’t put the focus on what this topology is actually doing&mdsash;the point is to have an example of a\n+ * typical topology that has input topics, intermediate topics, and output topics.\n+ * One important part in the code is the call to {@link KafkaStreams#cleanUp()}.\n+ * This call performs a local application (instance) reset and must be part in the code to make the application \"reset ready\".\n+ * <p>","path":"kafka-streams/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java","position":22,"original_position":22,"commit_id":"a9fd32307f2b0be0fd442798890bfbf44a0c040b","original_commit_id":"a9fd32307f2b0be0fd442798890bfbf44a0c040b","user":{"login":"miguno","id":294849,"avatar_url":"https://avatars.githubusercontent.com/u/294849?v=3","gravatar_id":"","url":"https://api.github.com/users/miguno","html_url":"https://github.com/miguno","followers_url":"https://api.github.com/users/miguno/followers","following_url":"https://api.github.com/users/miguno/following{/other_user}","gists_url":"https://api.github.com/users/miguno/gists{/gist_id}","starred_url":"https://api.github.com/users/miguno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguno/subscriptions","organizations_url":"https://api.github.com/users/miguno/orgs","repos_url":"https://api.github.com/users/miguno/repos","events_url":"https://api.github.com/users/miguno/events{/privacy}","received_events_url":"https://api.github.com/users/miguno/received_events","type":"User","site_admin":false},"body":"Yes, that's what I meant.  The PR changes are fine and match Javadoc rules, it's just the rules of Javadoc themselves that break my heart. ;-)","created_at":"2016-09-07T12:48:02Z","updated_at":"2016-09-07T12:48:02Z","html_url":"https://github.com/confluentinc/examples/pull/60#discussion_r77814337","pull_request_url":"https://api.github.com/repos/confluentinc/examples/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/confluentinc/examples/pulls/comments/77814337"},"html":{"href":"https://github.com/confluentinc/examples/pull/60#discussion_r77814337"},"pull_request":{"href":"https://api.github.com/repos/confluentinc/examples/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/confluentinc/examples/pulls/60","id":83939658,"html_url":"https://github.com/confluentinc/examples/pull/60","diff_url":"https://github.com/confluentinc/examples/pull/60.diff","patch_url":"https://github.com/confluentinc/examples/pull/60.patch","issue_url":"https://api.github.com/repos/confluentinc/examples/issues/60","number":60,"state":"open","locked":false,"title":"Added Application Reset Example and Integration Test","user":{"login":"mjsax","id":8959638,"avatar_url":"https://avatars.githubusercontent.com/u/8959638?v=3","gravatar_id":"","url":"https://api.github.com/users/mjsax","html_url":"https://github.com/mjsax","followers_url":"https://api.github.com/users/mjsax/followers","following_url":"https://api.github.com/users/mjsax/following{/other_user}","gists_url":"https://api.github.com/users/mjsax/gists{/gist_id}","starred_url":"https://api.github.com/users/mjsax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjsax/subscriptions","organizations_url":"https://api.github.com/users/mjsax/orgs","repos_url":"https://api.github.com/users/mjsax/repos","events_url":"https://api.github.com/users/mjsax/events{/privacy}","received_events_url":"https://api.github.com/users/mjsax/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-05T00:57:19Z","updated_at":"2016-09-07T12:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7333d3ba09d54e2d08bb3ae7b34b774edefd61fd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/confluentinc/examples/pulls/60/commits","review_comments_url":"https://api.github.com/repos/confluentinc/examples/pulls/60/comments","review_comment_url":"https://api.github.com/repos/confluentinc/examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/confluentinc/examples/issues/60/comments","statuses_url":"https://api.github.com/repos/confluentinc/examples/statuses/a9fd32307f2b0be0fd442798890bfbf44a0c040b","head":{"label":"confluentinc:resetExample-3.0.1","ref":"resetExample-3.0.1","sha":"a9fd32307f2b0be0fd442798890bfbf44a0c040b","user":{"login":"confluentinc","id":9439498,"avatar_url":"https://avatars.githubusercontent.com/u/9439498?v=3","gravatar_id":"","url":"https://api.github.com/users/confluentinc","html_url":"https://github.com/confluentinc","followers_url":"https://api.github.com/users/confluentinc/followers","following_url":"https://api.github.com/users/confluentinc/following{/other_user}","gists_url":"https://api.github.com/users/confluentinc/gists{/gist_id}","starred_url":"https://api.github.com/users/confluentinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confluentinc/subscriptions","organizations_url":"https://api.github.com/users/confluentinc/orgs","repos_url":"https://api.github.com/users/confluentinc/repos","events_url":"https://api.github.com/users/confluentinc/events{/privacy}","received_events_url":"https://api.github.com/users/confluentinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32839065,"name":"examples","full_name":"confluentinc/examples","owner":{"login":"confluentinc","id":9439498,"avatar_url":"https://avatars.githubusercontent.com/u/9439498?v=3","gravatar_id":"","url":"https://api.github.com/users/confluentinc","html_url":"https://github.com/confluentinc","followers_url":"https://api.github.com/users/confluentinc/followers","following_url":"https://api.github.com/users/confluentinc/following{/other_user}","gists_url":"https://api.github.com/users/confluentinc/gists{/gist_id}","starred_url":"https://api.github.com/users/confluentinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confluentinc/subscriptions","organizations_url":"https://api.github.com/users/confluentinc/orgs","repos_url":"https://api.github.com/users/confluentinc/repos","events_url":"https://api.github.com/users/confluentinc/events{/privacy}","received_events_url":"https://api.github.com/users/confluentinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/confluentinc/examples","description":"Example code on running Confluent Platform","fork":false,"url":"https://api.github.com/repos/confluentinc/examples","forks_url":"https://api.github.com/repos/confluentinc/examples/forks","keys_url":"https://api.github.com/repos/confluentinc/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/confluentinc/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/confluentinc/examples/teams","hooks_url":"https://api.github.com/repos/confluentinc/examples/hooks","issue_events_url":"https://api.github.com/repos/confluentinc/examples/issues/events{/number}","events_url":"https://api.github.com/repos/confluentinc/examples/events","assignees_url":"https://api.github.com/repos/confluentinc/examples/assignees{/user}","branches_url":"https://api.github.com/repos/confluentinc/examples/branches{/branch}","tags_url":"https://api.github.com/repos/confluentinc/examples/tags","blobs_url":"https://api.github.com/repos/confluentinc/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/confluentinc/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/confluentinc/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/confluentinc/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/confluentinc/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/confluentinc/examples/languages","stargazers_url":"https://api.github.com/repos/confluentinc/examples/stargazers","contributors_url":"https://api.github.com/repos/confluentinc/examples/contributors","subscribers_url":"https://api.github.com/repos/confluentinc/examples/subscribers","subscription_url":"https://api.github.com/repos/confluentinc/examples/subscription","commits_url":"https://api.github.com/repos/confluentinc/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/confluentinc/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/confluentinc/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/confluentinc/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/confluentinc/examples/contents/{+path}","compare_url":"https://api.github.com/repos/confluentinc/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/confluentinc/examples/merges","archive_url":"https://api.github.com/repos/confluentinc/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/confluentinc/examples/downloads","issues_url":"https://api.github.com/repos/confluentinc/examples/issues{/number}","pulls_url":"https://api.github.com/repos/confluentinc/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/confluentinc/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/confluentinc/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/confluentinc/examples/labels{/name}","releases_url":"https://api.github.com/repos/confluentinc/examples/releases{/id}","deployments_url":"https://api.github.com/repos/confluentinc/examples/deployments","created_at":"2015-03-25T02:57:11Z","updated_at":"2016-09-07T06:44:22Z","pushed_at":"2016-09-05T00:57:20Z","git_url":"git://github.com/confluentinc/examples.git","ssh_url":"git@github.com:confluentinc/examples.git","clone_url":"https://github.com/confluentinc/examples.git","svn_url":"https://github.com/confluentinc/examples","homepage":"","size":830,"stargazers_count":91,"watchers_count":91,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":5,"forks":79,"open_issues":5,"watchers":91,"default_branch":"kafka-0.10.0.0-cp-3.0.0"}},"base":{"label":"confluentinc:kafka-0.10.0.1-cp-3.0.1","ref":"kafka-0.10.0.1-cp-3.0.1","sha":"030343f9acbb9f73a13ab0f0fd31690dca97c606","user":{"login":"confluentinc","id":9439498,"avatar_url":"https://avatars.githubusercontent.com/u/9439498?v=3","gravatar_id":"","url":"https://api.github.com/users/confluentinc","html_url":"https://github.com/confluentinc","followers_url":"https://api.github.com/users/confluentinc/followers","following_url":"https://api.github.com/users/confluentinc/following{/other_user}","gists_url":"https://api.github.com/users/confluentinc/gists{/gist_id}","starred_url":"https://api.github.com/users/confluentinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confluentinc/subscriptions","organizations_url":"https://api.github.com/users/confluentinc/orgs","repos_url":"https://api.github.com/users/confluentinc/repos","events_url":"https://api.github.com/users/confluentinc/events{/privacy}","received_events_url":"https://api.github.com/users/confluentinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32839065,"name":"examples","full_name":"confluentinc/examples","owner":{"login":"confluentinc","id":9439498,"avatar_url":"https://avatars.githubusercontent.com/u/9439498?v=3","gravatar_id":"","url":"https://api.github.com/users/confluentinc","html_url":"https://github.com/confluentinc","followers_url":"https://api.github.com/users/confluentinc/followers","following_url":"https://api.github.com/users/confluentinc/following{/other_user}","gists_url":"https://api.github.com/users/confluentinc/gists{/gist_id}","starred_url":"https://api.github.com/users/confluentinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confluentinc/subscriptions","organizations_url":"https://api.github.com/users/confluentinc/orgs","repos_url":"https://api.github.com/users/confluentinc/repos","events_url":"https://api.github.com/users/confluentinc/events{/privacy}","received_events_url":"https://api.github.com/users/confluentinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/confluentinc/examples","description":"Example code on running Confluent Platform","fork":false,"url":"https://api.github.com/repos/confluentinc/examples","forks_url":"https://api.github.com/repos/confluentinc/examples/forks","keys_url":"https://api.github.com/repos/confluentinc/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/confluentinc/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/confluentinc/examples/teams","hooks_url":"https://api.github.com/repos/confluentinc/examples/hooks","issue_events_url":"https://api.github.com/repos/confluentinc/examples/issues/events{/number}","events_url":"https://api.github.com/repos/confluentinc/examples/events","assignees_url":"https://api.github.com/repos/confluentinc/examples/assignees{/user}","branches_url":"https://api.github.com/repos/confluentinc/examples/branches{/branch}","tags_url":"https://api.github.com/repos/confluentinc/examples/tags","blobs_url":"https://api.github.com/repos/confluentinc/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/confluentinc/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/confluentinc/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/confluentinc/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/confluentinc/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/confluentinc/examples/languages","stargazers_url":"https://api.github.com/repos/confluentinc/examples/stargazers","contributors_url":"https://api.github.com/repos/confluentinc/examples/contributors","subscribers_url":"https://api.github.com/repos/confluentinc/examples/subscribers","subscription_url":"https://api.github.com/repos/confluentinc/examples/subscription","commits_url":"https://api.github.com/repos/confluentinc/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/confluentinc/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/confluentinc/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/confluentinc/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/confluentinc/examples/contents/{+path}","compare_url":"https://api.github.com/repos/confluentinc/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/confluentinc/examples/merges","archive_url":"https://api.github.com/repos/confluentinc/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/confluentinc/examples/downloads","issues_url":"https://api.github.com/repos/confluentinc/examples/issues{/number}","pulls_url":"https://api.github.com/repos/confluentinc/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/confluentinc/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/confluentinc/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/confluentinc/examples/labels{/name}","releases_url":"https://api.github.com/repos/confluentinc/examples/releases{/id}","deployments_url":"https://api.github.com/repos/confluentinc/examples/deployments","created_at":"2015-03-25T02:57:11Z","updated_at":"2016-09-07T06:44:22Z","pushed_at":"2016-09-05T00:57:20Z","git_url":"git://github.com/confluentinc/examples.git","ssh_url":"git@github.com:confluentinc/examples.git","clone_url":"https://github.com/confluentinc/examples.git","svn_url":"https://github.com/confluentinc/examples","homepage":"","size":830,"stargazers_count":91,"watchers_count":91,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":5,"forks":79,"open_issues":5,"watchers":91,"default_branch":"kafka-0.10.0.0-cp-3.0.0"}},"_links":{"self":{"href":"https://api.github.com/repos/confluentinc/examples/pulls/60"},"html":{"href":"https://github.com/confluentinc/examples/pull/60"},"issue":{"href":"https://api.github.com/repos/confluentinc/examples/issues/60"},"comments":{"href":"https://api.github.com/repos/confluentinc/examples/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/confluentinc/examples/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/confluentinc/examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/confluentinc/examples/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/confluentinc/examples/statuses/a9fd32307f2b0be0fd442798890bfbf44a0c040b"}}}}
{"actor":{"display_login":"miguno"}}