Modified: samza/site/releases/0.11.html URL: http://svn.apache.org/viewvc/samza/site/releases/0.11.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/releases/0.11.html (original) +++ samza/site/releases/0.11.html Tue Mar 19 05:31:11 2019 @@ -81,7 +81,7 @@ </div> <div class="main-navigation__items" data-menu-opened> <a class="main-navigation__item" href="/">Home</a> - <a class="main-navigation__item" href="/learn/documentation/1.0.0/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> <a class="main-navigation__item" href="/powered-by/">Powered By</a> <a class="main-navigation__item" href="/startup/download/">Downloads</a> <a class="main-navigation__item" href="/blog/">Blog</a> @@ -152,10 +152,10 @@ - <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/1.0.0/">QuickStart</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> - <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/1.0.0/">Code Examples</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> @@ -187,7 +187,7 @@ <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> Documentation </div> - <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/1.0.0/"> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> <!-- Handle sub navigation items from data --> @@ -576,7 +576,7 @@ <div class="footer__items"> <a class="footer__item" href="/meetups/">Meetups</a> <a class="footer__item" href="/blog/">Blog</a> - <a class="footer__item" href="/learn/documentation/1.0.0/introduction/background.html">About</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> </div> </div> <div>
Modified: samza/site/releases/0.12.html URL: http://svn.apache.org/viewvc/samza/site/releases/0.12.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/releases/0.12.html (original) +++ samza/site/releases/0.12.html Tue Mar 19 05:31:11 2019 @@ -81,7 +81,7 @@ </div> <div class="main-navigation__items" data-menu-opened> <a class="main-navigation__item" href="/">Home</a> - <a class="main-navigation__item" href="/learn/documentation/1.0.0/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> <a class="main-navigation__item" href="/powered-by/">Powered By</a> <a class="main-navigation__item" href="/startup/download/">Downloads</a> <a class="main-navigation__item" href="/blog/">Blog</a> @@ -152,10 +152,10 @@ - <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/1.0.0/">QuickStart</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> - <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/1.0.0/">Code Examples</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> @@ -187,7 +187,7 @@ <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> Documentation </div> - <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/1.0.0/"> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> <!-- Handle sub navigation items from data --> @@ -586,7 +586,7 @@ <div class="footer__items"> <a class="footer__item" href="/meetups/">Meetups</a> <a class="footer__item" href="/blog/">Blog</a> - <a class="footer__item" href="/learn/documentation/1.0.0/introduction/background.html">About</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> </div> </div> <div> Modified: samza/site/releases/0.13.html URL: http://svn.apache.org/viewvc/samza/site/releases/0.13.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/releases/0.13.html (original) +++ samza/site/releases/0.13.html Tue Mar 19 05:31:11 2019 @@ -81,7 +81,7 @@ </div> <div class="main-navigation__items" data-menu-opened> <a class="main-navigation__item" href="/">Home</a> - <a class="main-navigation__item" href="/learn/documentation/1.0.0/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> <a class="main-navigation__item" href="/powered-by/">Powered By</a> <a class="main-navigation__item" href="/startup/download/">Downloads</a> <a class="main-navigation__item" href="/blog/">Blog</a> @@ -152,10 +152,10 @@ - <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/1.0.0/">QuickStart</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> - <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/1.0.0/">Code Examples</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> @@ -187,7 +187,7 @@ <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> Documentation </div> - <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/1.0.0/"> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> <!-- Handle sub navigation items from data --> @@ -588,7 +588,7 @@ <div class="footer__items"> <a class="footer__item" href="/meetups/">Meetups</a> <a class="footer__item" href="/blog/">Blog</a> - <a class="footer__item" href="/learn/documentation/1.0.0/introduction/background.html">About</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> </div> </div> <div> Modified: samza/site/releases/0.14.html URL: http://svn.apache.org/viewvc/samza/site/releases/0.14.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/releases/0.14.html (original) +++ samza/site/releases/0.14.html Tue Mar 19 05:31:11 2019 @@ -81,7 +81,7 @@ </div> <div class="main-navigation__items" data-menu-opened> <a class="main-navigation__item" href="/">Home</a> - <a class="main-navigation__item" href="/learn/documentation/1.0.0/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> <a class="main-navigation__item" href="/powered-by/">Powered By</a> <a class="main-navigation__item" href="/startup/download/">Downloads</a> <a class="main-navigation__item" href="/blog/">Blog</a> @@ -152,10 +152,10 @@ - <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/1.0.0/">QuickStart</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> - <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/1.0.0/">Code Examples</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> @@ -187,7 +187,7 @@ <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> Documentation </div> - <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/1.0.0/"> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> <!-- Handle sub navigation items from data --> @@ -541,7 +541,7 @@ <h4 id="upgrade-notes">Upgrade Notes</h4> <ul> -<li>Introduced a new mandatory configuration - <code>job.coordination.utils.factory</code>. It impacts applications using non-YARN deployment models. Read more about it <a href="/learn/documentation/1.0.0/jobs/configuration-table.html">here</a>.</li> +<li>Introduced a new mandatory configuration - <code>job.coordination.utils.factory</code>. It impacts applications using non-YARN deployment models. Read more about it <a href="/learn/documentation/latest/jobs/configuration-table.html">here</a>.</li> <li>The following APIs in SystemAdmin have been deprecated in the previous versions and hence, replaced with newer APIs. If you have a custom System implementation, then you have to update to the newer APIs. <ul> @@ -552,7 +552,7 @@ <li>New API has been added to SystemAdmin that clear a stream. <ul> -<li><code>boolean clearStream(StreamSpec streamSpec);</code> Read more about it in the <a href="/learn/documentation/1.0.0/api/javadocs/org/apache/samza/system/SystemAdmin.html">API docs</a>.</li> +<li><code>boolean clearStream(StreamSpec streamSpec);</code> Read more about it in the <a href="/learn/documentation/latest/api/javadocs/org/apache/samza/system/SystemAdmin.html">API docs</a>.</li> </ul></li> </ul> @@ -596,7 +596,7 @@ <div class="footer__items"> <a class="footer__item" href="/meetups/">Meetups</a> <a class="footer__item" href="/blog/">Blog</a> - <a class="footer__item" href="/learn/documentation/1.0.0/introduction/background.html">About</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> </div> </div> <div> Modified: samza/site/releases/1.0.0.html URL: http://svn.apache.org/viewvc/samza/site/releases/1.0.0.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/releases/1.0.0.html (original) +++ samza/site/releases/1.0.0.html Tue Mar 19 05:31:11 2019 @@ -81,7 +81,7 @@ </div> <div class="main-navigation__items" data-menu-opened> <a class="main-navigation__item" href="/">Home</a> - <a class="main-navigation__item" href="/learn/documentation/1.0.0/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> <a class="main-navigation__item" href="/powered-by/">Powered By</a> <a class="main-navigation__item" href="/startup/download/">Downloads</a> <a class="main-navigation__item" href="/blog/">Blog</a> @@ -152,10 +152,10 @@ - <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/1.0.0/">QuickStart</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> - <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/1.0.0/">Code Examples</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> @@ -187,7 +187,7 @@ <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> Documentation </div> - <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/1.0.0/"> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> <!-- Handle sub navigation items from data --> @@ -958,7 +958,7 @@ make a change, since it now only has a s <div class="footer__items"> <a class="footer__item" href="/meetups/">Meetups</a> <a class="footer__item" href="/blog/">Blog</a> - <a class="footer__item" href="/learn/documentation/1.0.0/introduction/background.html">About</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> </div> </div> <div> Modified: samza/site/releases/older.html URL: http://svn.apache.org/viewvc/samza/site/releases/older.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/releases/older.html (original) +++ samza/site/releases/older.html Tue Mar 19 05:31:11 2019 @@ -81,7 +81,7 @@ </div> <div class="main-navigation__items" data-menu-opened> <a class="main-navigation__item" href="/">Home</a> - <a class="main-navigation__item" href="/learn/documentation/1.0.0/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> <a class="main-navigation__item" href="/powered-by/">Powered By</a> <a class="main-navigation__item" href="/startup/download/">Downloads</a> <a class="main-navigation__item" href="/blog/">Blog</a> @@ -152,10 +152,10 @@ - <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/1.0.0/">QuickStart</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> - <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/1.0.0/">Code Examples</a> + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> @@ -187,7 +187,7 @@ <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> Documentation </div> - <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/1.0.0/"> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> <!-- Handle sub navigation items from data --> @@ -561,7 +561,7 @@ <div class="footer__items"> <a class="footer__item" href="/meetups/">Meetups</a> <a class="footer__item" href="/blog/">Blog</a> - <a class="footer__item" href="/learn/documentation/1.0.0/introduction/background.html">About</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> </div> </div> <div> Modified: samza/site/sitemap.xml URL: http://svn.apache.org/viewvc/samza/site/sitemap.xml?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/sitemap.xml (original) +++ samza/site/sitemap.xml Tue Mar 19 05:31:11 2019 @@ -20,7 +20,7 @@ <url> <loc>http://samza.apache.org/</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> <changefreq>daily</changefreq> <priority>1.0</priority> </url> @@ -30,679 +30,707 @@ <url> <loc>http://samza.apache.org/learn/documentation/versioned/yarn/application-master</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/architecture/architecture-overview</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/introduction/architecture</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/introduction/background</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> + + + </url> + + <url> + <loc>http://samza.apache.org/learn/documentation/versioned/api/beam-api</loc> + <lastmod>2019-03-18</lastmod> + + + </url> + + <url> + <loc>http://samza.apache.org/startup/quick-start/versioned/beam</loc> + <lastmod>2019-03-18</lastmod> + + + </url> + + <url> + <loc>http://samza.apache.org/startup/code-examples/versioned/beam</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/checkpointing</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/contribute/code</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/contribute/coding-guide</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/community/committers-old</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/community/committers</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/introduction/concepts</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/configuration</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/hadoop/consumer</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/community/contact-us</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/contribute/contributors-corner</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/coordinator-stream</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/core-concepts/core-concepts</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/deploy-samza-job-from-hdfs</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/deploy-samza-to-CDH</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/deployment/deployment-model</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/contribute/enhancement-proposal</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/event-loop</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/connectors/eventhubs</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/connectors/hdfs</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/hello-samza-high-level-code</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/hello-samza-high-level-yarn</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/hello-samza-high-level-zk</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/api/high-level-api</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/talks/</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/meetups/</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/learn/documentation/versioned/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/powered-by/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/archive/</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/powered-by/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/learn/documentation/versioned/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/startup/quick-start/versioned/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/startup/quick-start/versioned/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/learn/tutorials/versioned/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/startup/preview/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/startup/preview/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/startup/hello-samza/versioned/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/startup/download/</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/startup/hello-samza/versioned/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/startup/code-examples/versioned/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/startup/code-examples/versioned/</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/learn/tutorials/versioned/</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/comparisons/introduction</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/community/irc</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/yarn/isolation</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/jmx</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/job-runner</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/rest/resources/jobs</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/connectors/kafka</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/operations/kafka</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/learn/documentation/versioned/architecture/kinesis</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/learn/documentation/versioned/connectors/kinesis</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/learn/documentation/versioned/connectors/kinesis</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/learn/documentation/versioned/architecture/kinesis</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/logging</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/api/low-level-api</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/metrics</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/operations/monitoring</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/rest/monitors</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/comparisons/mupd8</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/rest/overview</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/connectors/overview</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/hadoop/overview</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/packaging</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/hadoop/producer</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/api/programming-model</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/startup/releases/versioned/release-notes</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/remote-debugging-samza</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/reprocessing</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/rest/resource-directory</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/rest/resources</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/run-hello-samza-without-internet</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/run-in-multi-node-yarn</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/samza-async-user-guide</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/samza-configurations</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/samza-container</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/samza-event-hubs-standalone</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/samza-rest-getting-started</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/api/samza-sql</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/learn/tutorials/versioned/samza-sql</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/startup/quick-start/versioned/samza-sql</loc> + <lastmod>2019-03-18</lastmod> </url> <url> - <loc>http://samza.apache.org/startup/quick-start/versioned/samza-sql</loc> - <lastmod>2019-02-01</lastmod> + <loc>http://samza.apache.org/learn/tutorials/versioned/samza-sql</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/tutorials/versioned/samza-tools</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> + + + </url> + + <url> + <loc>http://samza.apache.org/startup/code-examples/versioned/samza</loc> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/startup/quick-start/versioned/samza</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/operations/security</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/serialization</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/comparisons/spark-streaming</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/split-deployment</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/deployment/standalone</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/state-management</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/comparisons/storm</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/streams</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/api/table-api</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/rest/resources/tasks</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/api/test-framework</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/contribute/tests</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/web-ui-rest-api</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/container/windowing</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/yarn/yarn-host-affinity</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/jobs/yarn-jobs</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/yarn/yarn-resource-localization</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/yarn/yarn-security</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> <url> <loc>http://samza.apache.org/learn/documentation/versioned/deployment/yarn</loc> - <lastmod>2019-02-01</lastmod> + <lastmod>2019-03-18</lastmod> </url> Added: samza/site/startup/code-examples/versioned/beam.html URL: http://svn.apache.org/viewvc/samza/site/startup/code-examples/versioned/beam.html?rev=1855804&view=auto ============================================================================== --- samza/site/startup/code-examples/versioned/beam.html (added) +++ samza/site/startup/code-examples/versioned/beam.html Tue Mar 19 05:31:11 2019 @@ -0,0 +1,740 @@ +<!DOCTYPE html> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<html lang="en"> + +<head> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta charset="utf-8"> + <title>Samza - Beam Code Examples</title> + <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/img/favicon/apple-touch-icon-57x57.png" /> + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/favicon/apple-touch-icon-114x114.png" /> + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/favicon/apple-touch-icon-72x72.png" /> + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/favicon/apple-touch-icon-144x144.png" /> + <link rel="apple-touch-icon-precomposed" sizes="60x60" href="/img/favicon/apple-touch-icon-60x60.png" /> + <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/img/favicon/apple-touch-icon-120x120.png" /> + <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/img/favicon/apple-touch-icon-76x76.png" /> + <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/img/favicon/apple-touch-icon-152x152.png" /> + <link rel="icon" type="image/png" href="/img/favicon/favicon-196x196.png" sizes="196x196" /> + <link rel="icon" type="image/png" href="/img/favicon/favicon-96x96.png" sizes="96x96" /> + <link rel="icon" type="image/png" href="/img/favicon/favicon-32x32.png" sizes="32x32" /> + <link rel="icon" type="image/png" href="/img/favicon/favicon-16x16.png" sizes="16x16" /> + <link rel="icon" type="image/png" href="/img/favicon/favicon-128.png" sizes="128x128" /> + <meta name="application-name" content="https://samza.apache.org" /> + <meta name="msapplication-TileColor" content="#FFFFFF" /> + <meta name="msapplication-TileImage" content="/img/favicon/mstile-144x144.png" /> + <meta name="msapplication-square70x70logo" content="/img/favicon/mstile-70x70.png" /> + <meta name="msapplication-square150x150logo" content="/img/favicon/mstile-150x150.png" /> + <meta name="msapplication-wide310x150logo" content="/img/favicon/mstile-310x150.png" /> + <meta name="msapplication-square310x310logo" content="/img/favicon/mstile-310x310.png" /> + <link href="/css/ionicons.min.css" rel="stylesheet"> + <link href="/css/google-fonts.css" rel="stylesheet"> + <link href="/css/syntax.css" rel="stylesheet"/> + <link rel="stylesheet" href="/css/main.new.css" /> +</head> + +<body class="page"> + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<div class="main-navigation" data-plugin="menu"> + <div class="main-navigation__toggle" data-menu-closed> + <i class="icon ion-md-menu"></i> + </div> + <div class="main-navigation__toggle main-navigation__toggle--opened" data-menu-opened> + <i class="icon ion-md-close"></i> + </div> + <div class="main-navigation__inner"> + <div class="main-navigation__logo"> + <a href="/"> + <img class="main-navigation__logo-img" src="/img/samza-logo.png" srcset="/img/samza-logo.png 1x, /img/samza-l...@2x.png 2x" + alt="Samza Logo" /> + </a> + </div> + <div class="main-navigation__items" data-menu-opened> + <a class="main-navigation__item" href="/">Home</a> + <a class="main-navigation__item" href="/learn/documentation/latest/core-concepts/core-concepts.html">Docs</a> + <a class="main-navigation__item" href="/powered-by/">Powered By</a> + <a class="main-navigation__item" href="/startup/download/">Downloads</a> + <a class="main-navigation__item" href="/blog/">Blog</a> + <div class="main-navigation__item main-navigation__item--group"> + <div class="main-navigation__item-group-title"> + Community + <i class="icon ion-md-arrow-dropdown"></i> + </div> + <div class="main-navigation__item-group-list"> + <a class="main-navigation__item" href="/community/contact-us.html">Contact Us</a> + <a class="main-navigation__item" href="/contribute/contributors-corner.html">Contributor's Corner</a> + <a class="main-navigation__item" href="/community/committers.html">PMC Members and committers</a> + <a class="main-navigation__item" href="/meetups/">Talks and Meetups</a> + </div> + </div> + </div> + </div> +</div> + + <div class="container"> + <div class="container__toggle"> + <i class="icon ion-md-arrow-dropleft-circle container__toggle-icon"></i> + <i class="icon ion-md-arrow-dropright-circle container__toggle-icon container__toggle-icon--opened"></i> + </div> + + <!-- There is only one menu, but made it as a no-output collection to grab data only --> + + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<div class="side-navigation"> + + + + + + + <!-- Start Group --> + + <div class="side-navigation__group side-navigation__group--has-nested" data-plugin="sub-menu" data-sub-menu-show-class="side-navigation__group--has-nested-visible"> + + + <!-- Make menu_title, and start items group if needed --> + + <div class="side-navigation__group-title"> + <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> + Getting Started + </div> + <div class="side-navigation__group-items " data-sub-menu > + + + <!-- Handle sub navigation items from data --> + + + + <a class="side-navigation__group-item" data-match-active="" href="/startup/quick-start/latest/">QuickStart</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/startup/code-examples/latest/">Code Examples</a> + + + + + <!-- Handle sub nagivation from site collections --> + + + <!-- Close sub nav group --> + + </div> + + + <!-- Close menu group --> + </div> + + + + + + + <!-- Start Group --> + + <div class="side-navigation__group side-navigation__group--has-nested" data-plugin="sub-menu" data-sub-menu-show-class="side-navigation__group--has-nested-visible"> + + + <!-- Make menu_title, and start items group if needed --> + + <div class="side-navigation__group-title"> + <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> + Documentation + </div> + <div class="side-navigation__group-items side-navigation__group-has-submenus" data-sub-menu data-documentation="/learn/documentation/latest/"> + + + <!-- Handle sub navigation items from data --> + + + <!-- Handle sub nagivation from site collections --> + + + <!-- Close sub nav group --> + + </div> + + + <!-- Close menu group --> + </div> + + + + + + + <!-- Start Group --> + + <div class="side-navigation__group side-navigation__group--has-nested" data-plugin="sub-menu" data-sub-menu-show-class="side-navigation__group--has-nested-visible"> + + + <!-- Make menu_title, and start items group if needed --> + + <div class="side-navigation__group-title"> + <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> + Releases + </div> + <div class="side-navigation__group-items " data-sub-menu > + + + <!-- Handle sub navigation items from data --> + + + + <a class="side-navigation__group-item" data-match-active="" href="/releases/1.0.0">1.0.0</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/releases/0.14">0.14</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/releases/0.13">0.13</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/releases/0.12">0.12</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/releases/0.11">0.11</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/releases/0.10">0.10</a> + + + + + <!-- Handle sub nagivation from site collections --> + + + <!-- Close sub nav group --> + + </div> + + + <!-- Close menu group --> + </div> + + + + + + + <!-- Start Group --> + + <div class="side-navigation__group"> + + + <!-- Make menu_title, and start items group if needed --> + + <a class="side-navigation__group-title" data-plugin="top-menu" data-match-active="" href="/blog/"> + Blog + </a> + + + <!-- Handle sub navigation items from data --> + + + <!-- Handle sub nagivation from site collections --> + + + <!-- Close sub nav group --> + + + <!-- Close menu group --> + </div> + + + + + + + <!-- Start Group --> + + <div class="side-navigation__group side-navigation__group--has-nested" data-plugin="sub-menu" data-sub-menu-show-class="side-navigation__group--has-nested-visible"> + + + <!-- Make menu_title, and start items group if needed --> + + <div class="side-navigation__group-title"> + <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> + Community + </div> + <div class="side-navigation__group-items " data-sub-menu > + + + <!-- Handle sub navigation items from data --> + + + + <a class="side-navigation__group-item" data-match-active="" href="/community/contact-us.html">Contact Us</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/contribute/contributors-corner.html">Contributor's Corner</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/contribute/enhancement-proposal.html">Enhancement Proposal</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/community/committers.html">PMC members & Committers</a> + + + <a class="side-navigation__group-item" data-match-active="" href="/meetups/">Talks and Meetups</a> + + + + + <!-- Handle sub nagivation from site collections --> + + + <!-- Close sub nav group --> + + </div> + + + <!-- Close menu group --> + </div> + + + + + + + <!-- Start Group --> + + <div class="side-navigation__group side-navigation__group--has-nested" data-plugin="sub-menu" data-sub-menu-show-class="side-navigation__group--has-nested-visible"> + + + <!-- Make menu_title, and start items group if needed --> + + <div class="side-navigation__group-title"> + <i class="side-navigation__group-title-icon icon ion-md-arrow-dropdown"></i> + Case Studies + </div> + <div class="side-navigation__group-items " data-sub-menu > + + + <!-- Handle sub navigation items from data --> + + + + <a class="side-navigation__group-item" data-match-active="exact" href="/case-studies/">View All</a> + + + <hr> + + + + + <!-- Handle sub nagivation from site collections --> + + + + + + + + + + + + + + + + + + + + + + + + <a class="side-navigation__group-item" href="/case-studies/ebay" data-match-active="">eBay</a> + + + + + + + + + + + + + + + + + + + + <a class="side-navigation__group-item" href="/case-studies/tripadvisor" data-match-active="">TripAdvisor</a> + + + + + + + + + + + + + + + + <a class="side-navigation__group-item" href="/case-studies/slack" data-match-active="">Slack</a> + + + + + + + + + + + + + + <a class="side-navigation__group-item" href="/case-studies/optimizely" data-match-active="">Optimizely</a> + + + + + + + + + + + + + + <a class="side-navigation__group-item" href="/case-studies/redfin" data-match-active="">Redfin</a> + + + + + + + + + + + + + + <a class="side-navigation__group-item" href="/case-studies/linkedin" data-match-active="">LinkedIn</a> + + + + + + + + + + + <!-- Close sub nav group --> + + </div> + + + <!-- Close menu group --> + </div> + + + +</div> + + + + <div class="section"> + <div class="content"> + + <h2>Beam Code Examples</h2> + + + + + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<p>The <a href="https://github.com/apache/samza-beam-examples">samza-beam-examples</a> project contains examples to demonstrate running Beam pipelines with SamzaRunner locally, in Yarn cluster, or in standalone cluster with Zookeeper. More complex pipelines can be built from this project and run in similar manner. </p> + +<h3 id="example-pipelines">Example Pipelines</h3> + +<p>The following examples are included:</p> + +<ol> +<li><p><a href="https://github.com/apache/samza-beam-examples/blob/master/src/main/java/org/apache/beam/examples/WordCount.java"><code>WordCount</code></a> reads a file as input (bounded data source), and computes word frequencies. </p></li> +<li><p><a href="https://github.com/apache/samza-beam-examples/blob/master/src/main/java/org/apache/beam/examples/KafkaWordCount.java"><code>KafkaWordCount</code></a> does the same word-count computation but reading from a Kafka stream (unbounded data source). It uses a fixed 10-sec window to aggregate the counts.</p></li> +</ol> + +<h3 id="run-the-examples">Run the Examples</h3> + +<p>Each example can be run locally, in Yarn cluster or in standalone cluster. Here we use KafkaWordCount as an example.</p> + +<h4 id="set-up">Set Up</h4> + +<ol> +<li><p>Download and install <a href="https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html">JDK version 8</a>. Verify that the JAVA_HOME environment variable is set and points to your JDK installation.</p></li> +<li><p>Download and install <a href="http://maven.apache.org/download.cgi">Apache Maven</a> by following Mavenâs <a href="http://maven.apache.org/install.html">installation guide</a> for your specific operating system.</p></li> +</ol> + +<p>Check out the <code>samza-beam-examples</code> repo:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ git clone https://github.com/apache/samza-beam-examples.git +$ cd samza-beam-examples +</code></pre></div> +<p>A script named “grid” is included in this project which allows you to easily download and install Zookeeper, Kafka, and Yarn. +You can run the following to bring them all up running in your local machine:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ scripts/grid bootstrap +</code></pre></div> +<p>All the downloaded package files will be put under <code>deploy</code> folder. Once the grid command completes, +you can verify that Yarn is up and running by going to http://localhost:8088. You can also choose to +bring them up separately, e.g.:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ scripts/grid install zookeeper +$ scripts/grid start zookeeper +</code></pre></div> +<p>Now let’s create a Kafka topic named “input-text” for this example:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ ./deploy/kafka/bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic input-text --partitions 10 --replication-factor 1 +</code></pre></div> +<h4 id="run-locally">Run Locally</h4> + +<p>You can run directly within the project using maven:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.KafkaWordCount \ + -Dexec.args="--runner=SamzaRunner" -P samza-runner +</code></pre></div> +<h4 id="packaging-your-application">Packaging Your Application</h4> + +<p>To execute the example in either Yarn or standalone, you need to package it first. +After packaging, we deploy and explode the tgz in the deploy folder:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span> $ mkdir -p deploy/examples + $ mvn package && tar -xvf target/samza-beam-examples-0.1-dist.tar.gz -C deploy/examples/ +</code></pre></div> +<h4 id="run-in-standalone-cluster-with-zookeeper">Run in Standalone Cluster with Zookeeper</h4> + +<p>You can use the <code>run-beam-standalone.sh</code> script included in this repo to run an example +in standalone mode. The config file is provided as <code>config/standalone.properties</code>. Note by +default we create one single split for the whole input (–maxSourceParallelism=1). To +set each Kafka partition in a split, we can set a large “maxSourceParallelism” value which +is the upper bound of the number of splits.</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ deploy/examples/bin/run-beam-standalone.sh org.apache.beam.examples.KafkaWordCount \ + --configFilePath=$PWD/deploy/examples/config/standalone.properties --maxSourceParallelism=1024 +</code></pre></div> +<h4 id="run-yarn-cluster">Run Yarn Cluster</h4> + +<p>Similar to running standalone, we can use the <code>run-beam-yarn.sh</code> to run the examples +in Yarn cluster. The config file is provided as <code>config/yarn.properties</code>. To run the +KafkaWordCount example in yarn:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ deploy/examples/bin/run-beam-yarn.sh org.apache.beam.examples.KafkaWordCount \ + --configFilePath=$PWD/deploy/examples/config/yarn.properties --maxSourceParallelism=1024 +</code></pre></div> +<h4 id="validate-the-pipeline-results">Validate the Pipeline Results</h4> + +<p>Now the pipeline is deployed to either locally, standalone or Yarn. Let’s check out the results. First we start a kakfa consumer to listen to the output:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ ./deploy/kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic word-count --property print.key=true +</code></pre></div> +<p>Then let’s publish a few lines to the input Kafka topic:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>$ ./deploy/kafka/bin/kafka-console-producer.sh --topic input-text --broker-list localhost:9092 +Nory was a Catholic because her mother was a Catholic, and Noryâs mother was a Catholic because her father was a Catholic, and her father was a Catholic because his mother was a Catholic, or had been. +</code></pre></div> +<p>You should see the word count shows up in the consumer console in about 10 secs:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"><span></span>a 6 +br 1 +mother 3 +was 6 +Catholic 6 +his 1 +Nory 2 +s 1 +father 2 +had 1 +been 1 +and 2 +her 3 +or 1 +because 3 +</code></pre></div> +<h3 id="beyond-examples">Beyond Examples</h3> + +<p>Feel free to build more complex pipelines based on the examples above, and reach out to us:</p> + +<ul> +<li><p>Subscribe and mail to <a href="mailto:u...@beam.apache.org">u...@beam.apache.org</a> for any Beam questions.</p></li> +<li><p>Subscribe and mail to <a href="mailto:u...@samza.apache.org">u...@samza.apache.org</a> for any Samza questions.</p></li> +</ul> + +<h3 id="more-information">More Information</h3> + +<ul> +<li><a href="http://beam.apache.org">Apache Beam</a></li> +<li><a href="https://samza.apache.org/">Apache Samza</a></li> +<li>Quickstart: <a href="https://beam.apache.org/get-started/quickstart-java">Java</a>, <a href="https://beam.apache.org/get-started/quickstart-py">Python</a>, <a href="https://beam.apache.org/get-started/quickstart-go">Go</a></li> +</ul> + + + </div> + </div> + + </div> + + + <!-- footer starts here --> + + <!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<footer> + <div class="footer-inner"> + <div class="side-by-side"> + <div> + <div class="footer__heading">Learn More</div> + <div class="footer__items"> + <a class="footer__item" href="/meetups/">Meetups</a> + <a class="footer__item" href="/blog/">Blog</a> + <a class="footer__item" href="/learn/documentation/latest/introduction/background.html">About</a> + </div> + </div> + <div> + <div class="footer__heading">Community</div> + <div class="footer__items"> + <a class="footer__item" href="/community/contact-us.html">Contact Us</a> + <a class="footer__item" href="/contribute/contributors-corner.html">Contributors' Corner</a> + <a class="footer__item" href="/community/committers.html">PMC members and committers</a> + <a class="footer__item" href="/powered-by/">Powered By</a> + </div> + </div> + + <div> + <div class="quick-links"> + <a class="quick-link" href="/startup/download" target="_blank"> + <i class="icon ion-md-download"></i> + </a> + <a class="quick-link" href="https://git-wip-us.apache.org/repos/asf?p=samza.git;a=tree" target="_blank"> + <i class="icon ion-md-code"></i> + </a> + <a class="quick-link" href="https://twitter.com/samzastream" target="_blank"> + <i class="icon ion-logo-twitter"></i> + </a> + </div> + + <p> + <script>document.write(new Date().getFullYear());</script> © samza.apache.org</p> + </div> + + </div> + </div> + +</footer> + + +<script> + var tryFile = function (url, cb) { + var myRequest = new Request(url); + fetch(myRequest).then((response, cb) => { + console.log(response.status); // returns 200 + cb(response.status != 404); + }); + } + + tryFile(window.location.pathname, function (status) { + // do something with the status + console.log(status); + }); +</script> + + +<!-- Google Analytics --> +<script> + (function (i, s, o, g, r, a, m) { + i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { + (i[r].q = i[r].q || []).push(arguments) + }, i[r].l = 1 * new Date(); a = s.createElement(o), + m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) + })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); + + ga('create', 'UA-43122768-1', 'apache.org'); + ga('send', 'pageview'); + +</script> +<script src="/js/main.new.js"></script> + +</body> + +</html> \ No newline at end of file Modified: samza/site/startup/code-examples/versioned/index.html URL: http://svn.apache.org/viewvc/samza/site/startup/code-examples/versioned/index.html?rev=1855804&r1=1855803&r2=1855804&view=diff ============================================================================== --- samza/site/startup/code-examples/versioned/index.html (original) +++ samza/site/startup/code-examples/versioned/index.html Tue Mar 19 05:31:11 2019 @@ -21,7 +21,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta charset="utf-8"> - <title>Samza </title> + <title>Samza - Code Examples</title> <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/img/favicon/apple-touch-icon-57x57.png" /> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/favicon/apple-touch-icon-114x114.png" /> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/favicon/apple-touch-icon-72x72.png" /> @@ -499,7 +499,7 @@ <div class="section"> <div class="content"> - <h2></h2> + <h2>Code Examples</h2> @@ -521,30 +521,9 @@ limitations under the License. --> -<h3 id="checking-out-our-examples">Checking out our examples</h3> +<p><a href="samza.html">Samza Code Examples</a></p> -<p>The <a href="https://github.com/apache/samza-hello-samza">hello-samza</a> project contains several examples to help you create your Samza applications. To checkout the hello-samza project:</p> - -<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span></span>> git clone https://git.apache.org/samza-hello-samza.git hello-samza</code></pre></figure> - -<h4 id="high-level-api-examples">High-level API examples</h4> - -<p><a href="https://github.com/apache/samza-hello-samza/tree/master/src/main/java/samza/examples/cookbook">The Samza Cookbook</a> contains various recipes using the Samza high-level API. -These include:</p> - -<ul> -<li><p>The <a href="https://github.com/apache/samza-hello-samza/blob/latest/src/main/java/samza/examples/cookbook/FilterExample.java">Filter example</a> demonstrates how to perform stateless operations on a stream. </p></li> -<li><p>The <a href="https://github.com/apache/samza-hello-samza/blob/latest/src/main/java/samza/examples/cookbook/JoinExample.java%5D">Join example</a> demonstrates how you can join a Kafka stream of page-views with a stream of ad-clicks</p></li> -<li><p>The <a href="https://github.com/apache/samza-hello-samza/blob/latest/src/main/java/samza/examples/cookbook/RemoteTableJoinExample.java">Stream-Table Join example</a> demonstrates how to use the Samza Table API. It joins a Kafka stream with a remote dataset accessed through a REST service.</p></li> -<li><p>The <a href="https://github.com/apache/samza-hello-samza/blob/latest/src/main/java/samza/examples/cookbook/SessionWindowExample.java">SessionWindow</a> and <a href="https://github.com/apache/samza-hello-samza/blob/latest/src/main/java/samza/examples/cookbook/TumblingWindowExample.java">TumblingWindow</a> examples illustrate Samza’s rich windowing and triggering capabilities.</p></li> -</ul> - -<p>In addition to the cookbook, you can also consult these:</p> - -<ul> -<li><p><a href="https://github.com/apache/samza-hello-samza/tree/master/src/main/java/samza/examples/wikipedia">Wikipedia Parser</a>: An advanced example that builds a streaming pipeline consuming a live-feed of wikipedia edits, parsing each message and generating statistics from them.</p></li> -<li><p><a href="https://github.com/apache/samza-hello-samza/tree/master/src/main/java/samza/examples/kinesis">Amazon Kinesis</a> and <a href="https://github.com/apache/samza-hello-samza/tree/latest/src/main/java/samza/examples/azure">Azure Eventhubs</a> examples that cover how to consume input data from the respective systems.</p></li> -</ul> +<p><a href="beam.html">Beam Code Examples</a></p> </div>