{"action":"created","comment":{"url":"https://api.github.com/repos/apache/samza/pulls/comments/156155220","pull_request_review_id":82587482,"id":156155220,"diff_hunk":"@@ -0,0 +1,46 @@\n+---\n+layout: page\n+title: Batch Processing Overview\n+---\n+<!--\n+   Licensed to the Apache Software Foundation (ASF) under one or more\n+   contributor license agreements.  See the NOTICE file distributed with\n+   this work for additional information regarding copyright ownership.\n+   The ASF licenses this file to You under the Apache License, Version 2.0\n+   (the \"License\"); you may not use this file except in compliance with\n+   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, software\n+   distributed under the License is distributed on an \"AS IS\" BASIS,\n+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+   See the License for the specific language governing permissions and\n+   limitations under the License.\n+-->\n+\n+Samza provides a unified data processing model for both stream and batch processing. In Samza batch is treated as a special case of streaming: the sources are bounded data sets in batch, whereas unbounded data sets in streaming. Under the hood, it’s the same highly-efficient stream-processing engine.","path":"docs/learn/documentation/versioned/hadoop/overview.md","position":22,"original_position":22,"commit_id":"cd78ae4cd24b205a8060f7ec4b9b0687295f58df","original_commit_id":"cd78ae4cd24b205a8060f7ec4b9b0687295f58df","user":{"login":"jmakes","id":7254655,"avatar_url":"https://avatars1.githubusercontent.com/u/7254655?v=4","gravatar_id":"","url":"https://api.github.com/users/jmakes","html_url":"https://github.com/jmakes","followers_url":"https://api.github.com/users/jmakes/followers","following_url":"https://api.github.com/users/jmakes/following{/other_user}","gists_url":"https://api.github.com/users/jmakes/gists{/gist_id}","starred_url":"https://api.github.com/users/jmakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmakes/subscriptions","organizations_url":"https://api.github.com/users/jmakes/orgs","repos_url":"https://api.github.com/users/jmakes/repos","events_url":"https://api.github.com/users/jmakes/events{/privacy}","received_events_url":"https://api.github.com/users/jmakes/received_events","type":"User","site_admin":false},"body":"Punctuation and wording:\r\n\"Samza provides a unified data processing model for both stream and batch processing. The primary difference between batch and streaming is whether the input size is bounded or unbounded. Batch data sources are typically bounded (e.g. static files on HDFS), whereas streams are unbounded (e.g. a topic in Kafka). Under the hood, the same highly-efficient stream-processing engine handles both types.\"\r\n","created_at":"2017-12-11T18:18:20Z","updated_at":"2017-12-11T18:49:00Z","html_url":"https://github.com/apache/samza/pull/381#discussion_r156155220","pull_request_url":"https://api.github.com/repos/apache/samza/pulls/381","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/samza/pulls/comments/156155220"},"html":{"href":"https://github.com/apache/samza/pull/381#discussion_r156155220"},"pull_request":{"href":"https://api.github.com/repos/apache/samza/pulls/381"}}},"pull_request":{"url":"https://api.github.com/repos/apache/samza/pulls/381","id":157358275,"html_url":"https://github.com/apache/samza/pull/381","diff_url":"https://github.com/apache/samza/pull/381.diff","patch_url":"https://github.com/apache/samza/pull/381.patch","issue_url":"https://api.github.com/repos/apache/samza/issues/381","number":381,"state":"open","locked":false,"title":"SAMZA-1512: Documentation on the multi-stage batch processing","user":{"login":"xinyuiscool","id":24738423,"avatar_url":"https://avatars0.githubusercontent.com/u/24738423?v=4","gravatar_id":"","url":"https://api.github.com/users/xinyuiscool","html_url":"https://github.com/xinyuiscool","followers_url":"https://api.github.com/users/xinyuiscool/followers","following_url":"https://api.github.com/users/xinyuiscool/following{/other_user}","gists_url":"https://api.github.com/users/xinyuiscool/gists{/gist_id}","starred_url":"https://api.github.com/users/xinyuiscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinyuiscool/subscriptions","organizations_url":"https://api.github.com/users/xinyuiscool/orgs","repos_url":"https://api.github.com/users/xinyuiscool/repos","events_url":"https://api.github.com/users/xinyuiscool/events{/privacy}","received_events_url":"https://api.github.com/users/xinyuiscool/received_events","type":"User","site_admin":false},"body":"Add overview documentation to explain how partitionBy(), checkpoint and state works in batch. Also organized the existing hdfs consumer/producer docs into the same hadoop folder under documentation.","created_at":"2017-12-08T23:54:20Z","updated_at":"2017-12-11T18:49:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7b174ca2aba41ae2a20635f05ad05c6145f177b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/samza/pulls/381/commits","review_comments_url":"https://api.github.com/repos/apache/samza/pulls/381/comments","review_comment_url":"https://api.github.com/repos/apache/samza/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/samza/issues/381/comments","statuses_url":"https://api.github.com/repos/apache/samza/statuses/cd78ae4cd24b205a8060f7ec4b9b0687295f58df","head":{"label":"xinyuiscool:SAMZA-1512","ref":"SAMZA-1512","sha":"cd78ae4cd24b205a8060f7ec4b9b0687295f58df","user":{"login":"xinyuiscool","id":24738423,"avatar_url":"https://avatars0.githubusercontent.com/u/24738423?v=4","gravatar_id":"","url":"https://api.github.com/users/xinyuiscool","html_url":"https://github.com/xinyuiscool","followers_url":"https://api.github.com/users/xinyuiscool/followers","following_url":"https://api.github.com/users/xinyuiscool/following{/other_user}","gists_url":"https://api.github.com/users/xinyuiscool/gists{/gist_id}","starred_url":"https://api.github.com/users/xinyuiscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinyuiscool/subscriptions","organizations_url":"https://api.github.com/users/xinyuiscool/orgs","repos_url":"https://api.github.com/users/xinyuiscool/repos","events_url":"https://api.github.com/users/xinyuiscool/events{/privacy}","received_events_url":"https://api.github.com/users/xinyuiscool/received_events","type":"User","site_admin":false},"repo":{"id":77248508,"name":"samza","full_name":"xinyuiscool/samza","owner":{"login":"xinyuiscool","id":24738423,"avatar_url":"https://avatars0.githubusercontent.com/u/24738423?v=4","gravatar_id":"","url":"https://api.github.com/users/xinyuiscool","html_url":"https://github.com/xinyuiscool","followers_url":"https://api.github.com/users/xinyuiscool/followers","following_url":"https://api.github.com/users/xinyuiscool/following{/other_user}","gists_url":"https://api.github.com/users/xinyuiscool/gists{/gist_id}","starred_url":"https://api.github.com/users/xinyuiscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinyuiscool/subscriptions","organizations_url":"https://api.github.com/users/xinyuiscool/orgs","repos_url":"https://api.github.com/users/xinyuiscool/repos","events_url":"https://api.github.com/users/xinyuiscool/events{/privacy}","received_events_url":"https://api.github.com/users/xinyuiscool/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xinyuiscool/samza","description":"Mirror of Apache Samza","fork":true,"url":"https://api.github.com/repos/xinyuiscool/samza","forks_url":"https://api.github.com/repos/xinyuiscool/samza/forks","keys_url":"https://api.github.com/repos/xinyuiscool/samza/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xinyuiscool/samza/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xinyuiscool/samza/teams","hooks_url":"https://api.github.com/repos/xinyuiscool/samza/hooks","issue_events_url":"https://api.github.com/repos/xinyuiscool/samza/issues/events{/number}","events_url":"https://api.github.com/repos/xinyuiscool/samza/events","assignees_url":"https://api.github.com/repos/xinyuiscool/samza/assignees{/user}","branches_url":"https://api.github.com/repos/xinyuiscool/samza/branches{/branch}","tags_url":"https://api.github.com/repos/xinyuiscool/samza/tags","blobs_url":"https://api.github.com/repos/xinyuiscool/samza/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xinyuiscool/samza/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xinyuiscool/samza/git/refs{/sha}","trees_url":"https://api.github.com/repos/xinyuiscool/samza/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xinyuiscool/samza/statuses/{sha}","languages_url":"https://api.github.com/repos/xinyuiscool/samza/languages","stargazers_url":"https://api.github.com/repos/xinyuiscool/samza/stargazers","contributors_url":"https://api.github.com/repos/xinyuiscool/samza/contributors","subscribers_url":"https://api.github.com/repos/xinyuiscool/samza/subscribers","subscription_url":"https://api.github.com/repos/xinyuiscool/samza/subscription","commits_url":"https://api.github.com/repos/xinyuiscool/samza/commits{/sha}","git_commits_url":"https://api.github.com/repos/xinyuiscool/samza/git/commits{/sha}","comments_url":"https://api.github.com/repos/xinyuiscool/samza/comments{/number}","issue_comment_url":"https://api.github.com/repos/xinyuiscool/samza/issues/comments{/number}","contents_url":"https://api.github.com/repos/xinyuiscool/samza/contents/{+path}","compare_url":"https://api.github.com/repos/xinyuiscool/samza/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xinyuiscool/samza/merges","archive_url":"https://api.github.com/repos/xinyuiscool/samza/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xinyuiscool/samza/downloads","issues_url":"https://api.github.com/repos/xinyuiscool/samza/issues{/number}","pulls_url":"https://api.github.com/repos/xinyuiscool/samza/pulls{/number}","milestones_url":"https://api.github.com/repos/xinyuiscool/samza/milestones{/number}","notifications_url":"https://api.github.com/repos/xinyuiscool/samza/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xinyuiscool/samza/labels{/name}","releases_url":"https://api.github.com/repos/xinyuiscool/samza/releases{/id}","deployments_url":"https://api.github.com/repos/xinyuiscool/samza/deployments","created_at":"2016-12-23T20:14:41Z","updated_at":"2016-12-23T20:14:46Z","pushed_at":"2017-12-08T23:53:28Z","git_url":"git://github.com/xinyuiscool/samza.git","ssh_url":"git@github.com:xinyuiscool/samza.git","clone_url":"https://github.com/xinyuiscool/samza.git","svn_url":"https://github.com/xinyuiscool/samza","homepage":null,"size":19125,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"e74998c5e58c891c0744ce1be2b13f7c5861656a","user":{"login":"apache","id":47359,"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":32199982,"name":"samza","full_name":"apache/samza","owner":{"login":"apache","id":47359,"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/samza","description":"Mirror of Apache Samza","fork":false,"url":"https://api.github.com/repos/apache/samza","forks_url":"https://api.github.com/repos/apache/samza/forks","keys_url":"https://api.github.com/repos/apache/samza/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/samza/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/samza/teams","hooks_url":"https://api.github.com/repos/apache/samza/hooks","issue_events_url":"https://api.github.com/repos/apache/samza/issues/events{/number}","events_url":"https://api.github.com/repos/apache/samza/events","assignees_url":"https://api.github.com/repos/apache/samza/assignees{/user}","branches_url":"https://api.github.com/repos/apache/samza/branches{/branch}","tags_url":"https://api.github.com/repos/apache/samza/tags","blobs_url":"https://api.github.com/repos/apache/samza/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/samza/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/samza/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/samza/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/samza/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/samza/languages","stargazers_url":"https://api.github.com/repos/apache/samza/stargazers","contributors_url":"https://api.github.com/repos/apache/samza/contributors","subscribers_url":"https://api.github.com/repos/apache/samza/subscribers","subscription_url":"https://api.github.com/repos/apache/samza/subscription","commits_url":"https://api.github.com/repos/apache/samza/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/samza/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/samza/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/samza/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/samza/contents/{+path}","compare_url":"https://api.github.com/repos/apache/samza/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/samza/merges","archive_url":"https://api.github.com/repos/apache/samza/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/samza/downloads","issues_url":"https://api.github.com/repos/apache/samza/issues{/number}","pulls_url":"https://api.github.com/repos/apache/samza/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/samza/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/samza/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/samza/labels{/name}","releases_url":"https://api.github.com/repos/apache/samza/releases{/id}","deployments_url":"https://api.github.com/repos/apache/samza/deployments","created_at":"2015-03-14T07:00:05Z","updated_at":"2017-12-11T04:48:28Z","pushed_at":"2017-12-11T17:47:17Z","git_url":"git://github.com/apache/samza.git","ssh_url":"git@github.com:apache/samza.git","clone_url":"https://github.com/apache/samza.git","svn_url":"https://github.com/apache/samza","homepage":null,"size":18488,"stargazers_count":386,"watchers_count":386,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":173,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":173,"open_issues":27,"watchers":386,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/samza/pulls/381"},"html":{"href":"https://github.com/apache/samza/pull/381"},"issue":{"href":"https://api.github.com/repos/apache/samza/issues/381"},"comments":{"href":"https://api.github.com/repos/apache/samza/issues/381/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/samza/pulls/381/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/samza/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/samza/pulls/381/commits"},"statuses":{"href":"https://api.github.com/repos/apache/samza/statuses/cd78ae4cd24b205a8060f7ec4b9b0687295f58df"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jmakes"}}