You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bahir.apache.org by lr...@apache.org on 2016/08/09 22:49:27 UTC
bahir-website git commit: Publishing from
d09e63b3b5112a3f5f72c38511159b03a3af9cca
Repository: bahir-website
Updated Branches:
refs/heads/asf-site 4e42f71b4 -> a2619a72b
Publishing from d09e63b3b5112a3f5f72c38511159b03a3af9cca
Project: http://git-wip-us.apache.org/repos/asf/bahir-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir-website/commit/a2619a72
Tree: http://git-wip-us.apache.org/repos/asf/bahir-website/tree/a2619a72
Diff: http://git-wip-us.apache.org/repos/asf/bahir-website/diff/a2619a72
Branch: refs/heads/asf-site
Commit: a2619a72bcd2bbf5b49885e090d519597acdc714
Parents: 4e42f71
Author: Luciano Resende <lr...@apache.org>
Authored: Tue Aug 9 15:48:46 2016 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Tue Aug 9 15:48:46 2016 -0700
----------------------------------------------------------------------
.../docs/spark/current/documentation/index.html | 211 ++++++++++++
.../current/spark-sql-streaming-mqtt/index.html | 317 +++++++++++++++++++
.../current/spark-streaming-akka/index.html | 267 ++++++++++++++++
.../current/spark-streaming-mqtt/index.html | 248 +++++++++++++++
.../current/spark-streaming-twitter/index.html | 250 +++++++++++++++
.../current/spark-streaming-zeromq/index.html | 242 ++++++++++++++
.../docs/spark/spark-streaming-akka/index.html | 196 ------------
.../docs/spark/spark-streaming-mqtt/index.html | 196 ------------
.../spark/spark-streaming-zeromq/index.html | 196 ------------
content/download/index.html | 76 +++--
content/feed.xml | 14 +-
content/index.html | 2 +
.../news/2015/11/08/new-committers/index.html | 11 +
.../news/2015/11/09/new-committers/index.html | 11 -
14 files changed, 1603 insertions(+), 634 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/current/documentation/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/documentation/index.html b/content/docs/spark/current/documentation/index.html
new file mode 100644
index 0000000..2dd98ad
--- /dev/null
+++ b/content/docs/spark/current/documentation/index.html
@@ -0,0 +1,211 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Documentation</title>
+ <meta name="description" content="Project Documentation page">
+ <meta name="author" content="">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- make tables sortable by adding class tag "sortable" to table elements -->
+ <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
+
+
+ </head>
+
+ <body>
+
+
+
+<!-- Navigation -->
+<div id="nav-bar">
+ <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
+ <div class="container">
+ <!-- Brand and toggle get grouped for better mobile display -->
+
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand page-scroll" href="/#home">Home</a>
+ </div>
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+ <li id="community">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/community" target="_self">Get Involved</a></li>
+
+
+ <li><a href="/contributing" target="_self">Contributing</a></li>
+
+
+ <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
+
+
+ <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
+
+
+ <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
+
+
+ <li><a href="/community-members" target="_self">Project Committers</a></li>
+
+ </ul>
+
+ </li>
+
+ <li id="github">
+
+
+ <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
+
+ </li>
+
+ <li id="apache">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
+
+
+ <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+
+
+ <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
+
+ </ul>
+
+ </li>
+
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container -->
+ </nav>
+</div>
+
+
+ <div class="container">
+
+
+<!--<div class="hero-unit Documentation">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<h2 id="apache-spark-extensions-documentation">Apache Spark Extensions Documentation</h2>
+
+<h3 id="structured-streaming-data-sources">Structured Streaming Data Sources</h3>
+
+<ul>
+ <li><a href="/docs/spark/current/spark-sql-streaming-mqtt">MQTT</a></li>
+</ul>
+
+<h3 id="dstreaming-data-sources">DStreaming Data Sources</h3>
+
+<ul>
+ <li><a href="/docs/spark/current/spark-streaming-akka">Akka</a></li>
+ <li><a href="/docs/spark/current/spark-streaming-mqtt">MQTT</a></li>
+ <li><a href="/docs/spark/current/spark-streaming-twitter">Twitter</a></li>
+ <li><a href="/docs/spark/current/spark-streaming-zeromq">ZeroMQ</a></li>
+</ul>
+
+ </div>
+</div>
+
+
+
+ <hr>
+
+ <!-- <p>© 2016 </p>-->
+ <footer class="site-footer">
+ <div class="wrapper">
+ <div class="footer-col-wrapper">
+
+ <div style="text-align:center;">
+
+ <div>
+ Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
+ 2.0</a>.
+ <br>
+
+ Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
+
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+
+ </div>
+
+
+
+
+ <script type="text/javascript">
+ (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-79140859-1', 'bahir.apache.org');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+
+</script>
+
+
+
+ <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
+
+ <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
+
+
+ </body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/current/spark-sql-streaming-mqtt/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-sql-streaming-mqtt/index.html b/content/docs/spark/current/spark-sql-streaming-mqtt/index.html
new file mode 100644
index 0000000..4bcd449
--- /dev/null
+++ b/content/docs/spark/current/spark-sql-streaming-mqtt/index.html
@@ -0,0 +1,317 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Spark Structured Streaming MQTT</title>
+ <meta name="description" content="Spark Structured Streaming MQTT">
+ <meta name="author" content="">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- make tables sortable by adding class tag "sortable" to table elements -->
+ <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
+
+
+ </head>
+
+ <body>
+
+
+
+<!-- Navigation -->
+<div id="nav-bar">
+ <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
+ <div class="container">
+ <!-- Brand and toggle get grouped for better mobile display -->
+
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand page-scroll" href="/#home">Home</a>
+ </div>
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+ <li id="community">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/community" target="_self">Get Involved</a></li>
+
+
+ <li><a href="/contributing" target="_self">Contributing</a></li>
+
+
+ <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
+
+
+ <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
+
+
+ <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
+
+
+ <li><a href="/community-members" target="_self">Project Committers</a></li>
+
+ </ul>
+
+ </li>
+
+ <li id="github">
+
+
+ <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
+
+ </li>
+
+ <li id="apache">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
+
+
+ <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+
+
+ <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
+
+ </ul>
+
+ </li>
+
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container -->
+ </nav>
+</div>
+
+
+ <div class="container">
+
+
+<!--<div class="hero-unit Spark Structured Streaming MQTT">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<p>A library for reading data from MQTT Servers using Spark SQL Streaming ( or Structured streaming.).</p>
+
+<h2 id="linking">Linking</h2>
+
+<p>Using SBT:</p>
+
+<p><code>scala
+libraryDependencies += "org.apache.bahir" %% "spark-sql-streaming-mqtt" % "2.0.0"
+</code></p>
+
+<p>Using Maven:</p>
+
+<p>```xml</p>
+<dependency>
+ <groupid>org.apache.bahir</groupid>
+ <artifactid>spark-sql-streaming-mqtt_2.11</artifactid>
+ <version>2.0.0</version>
+</dependency>
+<p>```</p>
+
+<p>This library can also be added to Spark jobs launched through <code>spark-shell</code> or <code>spark-submit</code> by using the <code>--packages</code> command line option.
+For example, to include it when starting the spark shell:</p>
+
+<p><code>
+$ bin/spark-shell --packages org.apache.bahir:spark-sql-streaming-mqtt_2.11:2.0.0
+</code></p>
+
+<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
+The <code>--packages</code> argument can also be used with <code>bin/spark-submit</code>.</p>
+
+<p>This library is compiled for Scala 2.11 only, and intends to support Spark 2.0 onwards.</p>
+
+<h2 id="examples">Examples</h2>
+
+<p>A SQL Stream can be created with data streams received through MQTT Server using,</p>
+
+<p>```scala
+sqlContext.readStream
+ .format(\u201corg.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider\u201d)
+ .option(\u201ctopic\u201d, \u201cmytopic\u201d)
+ .load(\u201ctcp://localhost:1883\u201d)</p>
+
+<p>```</p>
+
+<h2 id="enable-recovering-from-failures">Enable recovering from failures.</h2>
+
+<p>Setting values for option <code>localStorage</code> and <code>clientId</code> helps in recovering in case of a restart, by restoring the state where it left off before the shutdown.</p>
+
+<p>```scala
+sqlContext.readStream
+ .format(\u201corg.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider\u201d)
+ .option(\u201ctopic\u201d, \u201cmytopic\u201d)
+ .option(\u201clocalStorage\u201d, \u201c/path/to/localdir\u201d)
+ .option(\u201cclientId\u201d, \u201csome-client-id\u201d)
+ .load(\u201ctcp://localhost:1883\u201d)</p>
+
+<p>```</p>
+
+<h3 id="scala-api">Scala API</h3>
+
+<p>An example, for scala API to count words from incoming message stream.</p>
+
+<p>```scala
+ // Create DataFrame representing the stream of input lines from connection to mqtt server
+ val lines = spark.readStream
+ .format(\u201corg.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider\u201d)
+ .option(\u201ctopic\u201d, topic)
+ .load(brokerUrl).as[(String, Timestamp)]</p>
+
+<pre><code>// Split the lines into words
+val words = lines.map(_._1).flatMap(_.split(" "))
+
+// Generate running word count
+val wordCounts = words.groupBy("value").count()
+
+// Start running the query that prints the running counts to the console
+val query = wordCounts.writeStream
+ .outputMode("complete")
+ .format("console")
+ .start()
+
+query.awaitTermination()
+</code></pre>
+
+<p>```
+Please see <code>MQTTStreamWordCount.scala</code> for full example.</p>
+
+<h3 id="java-api">Java API</h3>
+
+<p>An example, for Java API to count words from incoming message stream.</p>
+
+<p>```java</p>
+
+<pre><code> // Create DataFrame representing the stream of input lines from connection to mqtt server.
+ Dataset<String> lines = spark
+ .readStream()
+ .format("org.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider")
+ .option("topic", topic)
+ .load(brokerUrl).select("value").as(Encoders.STRING());
+
+ // Split the lines into words
+ Dataset<String> words = lines.flatMap(new FlatMapFunction<String, String>() {
+ @Override
+ public Iterator<String> call(String x) {
+ return Arrays.asList(x.split(" ")).iterator();
+ }
+ }, Encoders.STRING());
+
+ // Generate running word count
+ Dataset<Row> wordCounts = words.groupBy("value").count();
+
+ // Start running the query that prints the running counts to the console
+ StreamingQuery query = wordCounts.writeStream()
+ .outputMode("complete")
+ .format("console")
+ .start();
+
+ query.awaitTermination(); ```
+</code></pre>
+
+<p>Please see <code>JavaMQTTStreamWordCount.java</code> for full example.</p>
+
+
+ </div>
+</div>
+
+
+
+ <hr>
+
+ <!-- <p>© 2016 </p>-->
+ <footer class="site-footer">
+ <div class="wrapper">
+ <div class="footer-col-wrapper">
+
+ <div style="text-align:center;">
+
+ <div>
+ Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
+ 2.0</a>.
+ <br>
+
+ Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
+
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+
+ </div>
+
+
+
+
+ <script type="text/javascript">
+ (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-79140859-1', 'bahir.apache.org');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+
+</script>
+
+
+
+ <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
+
+ <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
+
+
+ </body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/current/spark-streaming-akka/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-akka/index.html b/content/docs/spark/current/spark-streaming-akka/index.html
new file mode 100644
index 0000000..7969e1c
--- /dev/null
+++ b/content/docs/spark/current/spark-streaming-akka/index.html
@@ -0,0 +1,267 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Spark Streaming Akka</title>
+ <meta name="description" content="Spark Streaming Akka">
+ <meta name="author" content="">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- make tables sortable by adding class tag "sortable" to table elements -->
+ <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
+
+
+ </head>
+
+ <body>
+
+
+
+<!-- Navigation -->
+<div id="nav-bar">
+ <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
+ <div class="container">
+ <!-- Brand and toggle get grouped for better mobile display -->
+
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand page-scroll" href="/#home">Home</a>
+ </div>
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+ <li id="community">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/community" target="_self">Get Involved</a></li>
+
+
+ <li><a href="/contributing" target="_self">Contributing</a></li>
+
+
+ <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
+
+
+ <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
+
+
+ <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
+
+
+ <li><a href="/community-members" target="_self">Project Committers</a></li>
+
+ </ul>
+
+ </li>
+
+ <li id="github">
+
+
+ <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
+
+ </li>
+
+ <li id="apache">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
+
+
+ <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+
+
+ <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
+
+ </ul>
+
+ </li>
+
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container -->
+ </nav>
+</div>
+
+
+ <div class="container">
+
+
+<!--<div class="hero-unit Spark Streaming Akka">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<p>A library for reading data from Akka Actors using Spark Streaming.</p>
+
+<h2 id="linking">Linking</h2>
+
+<p>Using SBT:</p>
+
+<p><code>
+libraryDependencies += "org.apache.bahir" %% "spark-streaming-akka" % "2.0.0"
+</code></p>
+
+<p>Using Maven:</p>
+
+<p>```xml</p>
+<dependency>
+ <groupid>org.apache.bahir</groupid>
+ <artifactid>spark-streaming-akka_2.11</artifactid>
+ <version>2.0.0</version>
+</dependency>
+<p>```</p>
+
+<p>This library can also be added to Spark jobs launched through <code>spark-shell</code> or <code>spark-submit</code> by using the <code>--packages</code> command line option.
+For example, to include it when starting the spark shell:</p>
+
+<p><code>
+$ bin/spark-shell --packages org.apache.bahir:spark-streaming_akka_2.11:2.0.0
+</code></p>
+
+<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
+The <code>--packages</code> argument can also be used with <code>bin/spark-submit</code>.</p>
+
+<p>This library is cross-published for Scala 2.10 and Scala 2.11, so users should replace the proper Scala version (2.10 or 2.11) in the commands listed above.</p>
+
+<h2 id="examples">Examples</h2>
+
+<p>DStreams can be created with data streams received through Akka actors by using <code>AkkaUtils.createStream(ssc, actorProps, actor-name)</code>.</p>
+
+<h3 id="scala-api">Scala API</h3>
+
+<p>You need to extend <code>ActorReceiver</code> so as to store received data into Spark using <code>store(...)</code> methods. The supervisor strategy of
+this actor can be configured to handle failures, etc.</p>
+
+<p>```Scala
+class CustomActor extends ActorReceiver {
+ def receive = {
+ case data: String => store(data)
+ }
+}</p>
+
+<p>// A new input stream can be created with this custom actor as
+val ssc: StreamingContext = \u2026
+val lines = AkkaUtils.createStream<a href="ssc, Props[CustomActor]()," title="CustomReceiver">String</a>
+```</p>
+
+<h3 id="java-api">Java API</h3>
+
+<p>You need to extend <code>JavaActorReceiver</code> so as to store received data into Spark using <code>store(...)</code> methods. The supervisor strategy of
+this actor can be configured to handle failures, etc.</p>
+
+<p>```Java
+class CustomActor extends JavaActorReceiver {
+ @Override
+ public void onReceive(Object msg) throws Exception {
+ store((String) msg);
+ }
+}</p>
+
+<p>// A new input stream can be created with this custom actor as
+JavaStreamingContext jssc = \u2026;
+JavaDStream<string> lines = AkkaUtils.<string>createStream(jssc, Props.create(CustomActor.class), "CustomReceiver");
+```</string></string></p>
+
+<p>See end-to-end examples at <a href="https://github.com/apache/bahir/tree/master/streaming-akka/examples">Akka Examples</a></p>
+
+ </div>
+</div>
+
+
+
+ <hr>
+
+ <!-- <p>© 2016 </p>-->
+ <footer class="site-footer">
+ <div class="wrapper">
+ <div class="footer-col-wrapper">
+
+ <div style="text-align:center;">
+
+ <div>
+ Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
+ 2.0</a>.
+ <br>
+
+ Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
+
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+
+ </div>
+
+
+
+
+ <script type="text/javascript">
+ (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-79140859-1', 'bahir.apache.org');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+
+</script>
+
+
+
+ <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
+
+ <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
+
+
+ </body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/current/spark-streaming-mqtt/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-mqtt/index.html b/content/docs/spark/current/spark-streaming-mqtt/index.html
new file mode 100644
index 0000000..1a4b529
--- /dev/null
+++ b/content/docs/spark/current/spark-streaming-mqtt/index.html
@@ -0,0 +1,248 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Spark Structured Streaming MQTT</title>
+ <meta name="description" content="Spark Structured Streaming MQTT">
+ <meta name="author" content="">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- make tables sortable by adding class tag "sortable" to table elements -->
+ <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
+
+
+ </head>
+
+ <body>
+
+
+
+<!-- Navigation -->
+<div id="nav-bar">
+ <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
+ <div class="container">
+ <!-- Brand and toggle get grouped for better mobile display -->
+
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand page-scroll" href="/#home">Home</a>
+ </div>
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+ <li id="community">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/community" target="_self">Get Involved</a></li>
+
+
+ <li><a href="/contributing" target="_self">Contributing</a></li>
+
+
+ <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
+
+
+ <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
+
+
+ <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
+
+
+ <li><a href="/community-members" target="_self">Project Committers</a></li>
+
+ </ul>
+
+ </li>
+
+ <li id="github">
+
+
+ <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
+
+ </li>
+
+ <li id="apache">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
+
+
+ <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+
+
+ <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
+
+ </ul>
+
+ </li>
+
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container -->
+ </nav>
+</div>
+
+
+ <div class="container">
+
+
+<!--<div class="hero-unit Spark Structured Streaming MQTT">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<p><a href="http://mqtt.org/">MQTT</a> is MQTT is a machine-to-machine (M2M)/\u201dInternet of Things\u201d connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.</p>
+
+<h2 id="linking">Linking</h2>
+
+<p>Using SBT:</p>
+
+<p><code>
+libraryDependencies += "org.apache.bahir" %% "spark-streaming-mqtt" % "2.0.0"
+</code></p>
+
+<p>Using Maven:</p>
+
+<p>```xml</p>
+<dependency>
+ <groupid>org.apache.bahir</groupid>
+ <artifactid>spark-streaming-mqtt_2.11</artifactid>
+ <version>2.0.0</version>
+</dependency>
+<p>```</p>
+
+<p>This library can also be added to Spark jobs launched through <code>spark-shell</code> or <code>spark-submit</code> by using the <code>--packages</code> command line option.
+For example, to include it when starting the spark shell:</p>
+
+<p><code>
+$ bin/spark-shell --packages org.apache.bahir:spark-streaming_mqtt_2.11:2.0.0
+</code></p>
+
+<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
+The <code>--packages</code> argument can also be used with <code>bin/spark-submit</code>.</p>
+
+<p>This library is cross-published for Scala 2.10 and Scala 2.11, so users should replace the proper Scala version (2.10 or 2.11) in the commands listed above.</p>
+
+<h2 id="examples">Examples</h2>
+
+<h3 id="scala-api">Scala API</h3>
+
+<p>You need to extend <code>ActorReceiver</code> so as to store received data into Spark using <code>store(...)</code> methods. The supervisor strategy of
+this actor can be configured to handle failures, etc.</p>
+
+<p><code>Scala
+val lines = MQTTUtils.createStream(ssc, brokerUrl, topic)
+</code></p>
+
+<h3 id="java-api">Java API</h3>
+
+<p>You need to extend <code>JavaActorReceiver</code> so as to store received data into Spark using <code>store(...)</code> methods. The supervisor strategy of
+this actor can be configured to handle failures, etc.</p>
+
+<p><code>Java
+JavaDStream<String> lines = MQTTUtils.createStream(jssc, brokerUrl, topic);
+</code></p>
+
+<p>See end-to-end examples at (<a href="https://github.com/apache/bahir/tree/master/streaming-mqtt/examples">MQTT Examples</a></p>
+
+ </div>
+</div>
+
+
+
+ <hr>
+
+ <!-- <p>© 2016 </p>-->
+ <footer class="site-footer">
+ <div class="wrapper">
+ <div class="footer-col-wrapper">
+
+ <div style="text-align:center;">
+
+ <div>
+ Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
+ 2.0</a>.
+ <br>
+
+ Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
+
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+
+ </div>
+
+
+
+
+ <script type="text/javascript">
+ (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-79140859-1', 'bahir.apache.org');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+
+</script>
+
+
+
+ <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
+
+ <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
+
+
+ </body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/current/spark-streaming-twitter/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-twitter/index.html b/content/docs/spark/current/spark-streaming-twitter/index.html
new file mode 100644
index 0000000..07d23d8
--- /dev/null
+++ b/content/docs/spark/current/spark-streaming-twitter/index.html
@@ -0,0 +1,250 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Spark Streaming Twitter</title>
+ <meta name="description" content="Spark Streaming Twitter">
+ <meta name="author" content="">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- make tables sortable by adding class tag "sortable" to table elements -->
+ <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
+
+
+ </head>
+
+ <body>
+
+
+
+<!-- Navigation -->
+<div id="nav-bar">
+ <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
+ <div class="container">
+ <!-- Brand and toggle get grouped for better mobile display -->
+
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand page-scroll" href="/#home">Home</a>
+ </div>
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+ <li id="community">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/community" target="_self">Get Involved</a></li>
+
+
+ <li><a href="/contributing" target="_self">Contributing</a></li>
+
+
+ <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
+
+
+ <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
+
+
+ <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
+
+
+ <li><a href="/community-members" target="_self">Project Committers</a></li>
+
+ </ul>
+
+ </li>
+
+ <li id="github">
+
+
+ <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
+
+ </li>
+
+ <li id="apache">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
+
+
+ <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+
+
+ <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
+
+ </ul>
+
+ </li>
+
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container -->
+ </nav>
+</div>
+
+
+ <div class="container">
+
+
+<!--<div class="hero-unit Spark Streaming Twitter">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<p>A library for reading social data from <a href="http://twitter.com/">twitter</a> using Spark Streaming.</p>
+
+<h2 id="linking">Linking</h2>
+
+<p>Using SBT:</p>
+
+<p><code>
+libraryDependencies += "org.apache.bahir" %% "spark-streaming-twitter" % "2.0.0"
+</code></p>
+
+<p>Using Maven:</p>
+
+<p>```xml</p>
+<dependency>
+ <groupid>org.apache.bahir</groupid>
+ <artifactid>spark-streaming-twitter_2.11</artifactid>
+ <version>2.0.0</version>
+</dependency>
+<p>```</p>
+
+<p>This library can also be added to Spark jobs launched through <code>spark-shell</code> or <code>spark-submit</code> by using the <code>--packages</code> command line option.
+For example, to include it when starting the spark shell:</p>
+
+<p><code>
+$ bin/spark-shell --packages org.apache.bahir:spark-streaming_twitter_2.11:2.0.0
+</code></p>
+
+<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
+The <code>--packages</code> argument can also be used with <code>bin/spark-submit</code>.</p>
+
+<p>This library is cross-published for Scala 2.10 and Scala 2.11, so users should replace the proper Scala version (2.10 or 2.11) in the commands listed above.</p>
+
+<h2 id="examples">Examples</h2>
+
+<p><code>TwitterUtils</code> uses Twitter4j to get the public stream of tweets using <a href="https://dev.twitter.com/docs/streaming-apis">Twitter\u2019s Streaming API</a>. Authentication information
+can be provided by any of the <a href="http://twitter4j.org/en/configuration.html">methods</a> supported by Twitter4J library. You can import the <code>TwitterUtils</code> class and create a DStream with <code>TwitterUtils.createStream</code> as shown below.</p>
+
+<h3 id="scala-api">Scala API</h3>
+
+<p>```Scala
+import org.apache.spark.streaming.twitter._</p>
+
+<p>TwitterUtils.createStream(ssc, None)
+```</p>
+
+<h3 id="java-api">Java API</h3>
+
+<p>```Java
+import org.apache.spark.streaming.twitter.*;</p>
+
+<p>TwitterUtils.createStream(jssc);
+```</p>
+
+<p>You can also either get the public stream, or get the filtered stream based on keywords.
+See end-to-end examples at (<a href="https://github.com/apache/bahir/tree/master/streaming-twitter/examples">Twitter Examples</a></p>
+
+ </div>
+</div>
+
+
+
+ <hr>
+
+ <!-- <p>© 2016 </p>-->
+ <footer class="site-footer">
+ <div class="wrapper">
+ <div class="footer-col-wrapper">
+
+ <div style="text-align:center;">
+
+ <div>
+ Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
+ 2.0</a>.
+ <br>
+
+ Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
+
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+
+ </div>
+
+
+
+
+ <script type="text/javascript">
+ (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-79140859-1', 'bahir.apache.org');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+
+</script>
+
+
+
+ <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
+
+ <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
+
+
+ </body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/current/spark-streaming-zeromq/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-zeromq/index.html b/content/docs/spark/current/spark-streaming-zeromq/index.html
new file mode 100644
index 0000000..383dfd0
--- /dev/null
+++ b/content/docs/spark/current/spark-streaming-zeromq/index.html
@@ -0,0 +1,242 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Spark Streaming ZeroMQ</title>
+ <meta name="description" content="Spark Streaming ZeroMQ">
+ <meta name="author" content="">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- make tables sortable by adding class tag "sortable" to table elements -->
+ <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
+
+
+ </head>
+
+ <body>
+
+
+
+<!-- Navigation -->
+<div id="nav-bar">
+ <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
+ <div class="container">
+ <!-- Brand and toggle get grouped for better mobile display -->
+
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand page-scroll" href="/#home">Home</a>
+ </div>
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+ <li id="community">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/community" target="_self">Get Involved</a></li>
+
+
+ <li><a href="/contributing" target="_self">Contributing</a></li>
+
+
+ <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
+
+
+ <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
+
+
+ <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
+
+
+ <li><a href="/community-members" target="_self">Project Committers</a></li>
+
+ </ul>
+
+ </li>
+
+ <li id="github">
+
+
+ <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
+
+ </li>
+
+ <li id="apache">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
+
+
+ <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
+
+
+ <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+
+
+ <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
+
+ </ul>
+
+ </li>
+
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ <!-- /.navbar-collapse -->
+ </div>
+ <!-- /.container -->
+ </nav>
+</div>
+
+
+ <div class="container">
+
+
+<!--<div class="hero-unit Spark Streaming ZeroMQ">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<p>A library for reading data from <a href="http://zeromq.org/">ZeroMQ</a> using Spark Streaming.</p>
+
+<h2 id="linking">Linking</h2>
+
+<p>Using SBT:</p>
+
+<p><code>
+libraryDependencies += "org.apache.bahir" %% "spark-streaming-zeromq" % "2.0.0"
+</code></p>
+
+<p>Using Maven:</p>
+
+<p>```xml</p>
+<dependency>
+ <groupid>org.apache.bahir</groupid>
+ <artifactid>spark-streaming-zeromq_2.11</artifactid>
+ <version>2.0.0</version>
+</dependency>
+<p>```</p>
+
+<p>This library can also be added to Spark jobs launched through <code>spark-shell</code> or <code>spark-submit</code> by using the <code>--packages</code> command line option.
+For example, to include it when starting the spark shell:</p>
+
+<p><code>
+$ bin/spark-shell --packages org.apache.bahir:spark-streaming_zeromq_2.11:2.0.0
+</code></p>
+
+<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
+The <code>--packages</code> argument can also be used with <code>bin/spark-submit</code>.</p>
+
+<p>This library is cross-published for Scala 2.10 and Scala 2.11, so users should replace the proper Scala version (2.10 or 2.11) in the commands listed above.</p>
+
+<h2 id="examples">Examples</h2>
+
+<h3 id="scala-api">Scala API</h3>
+
+<p><code>Scala
+val lines = ZeroMQUtils.createStream(ssc, ...)
+</code></p>
+
+<h3 id="java-api">Java API</h3>
+
+<p><code>Java
+JavaDStream<String> lines = ZeroMQUtils.createStream(jssc, ...);
+</code></p>
+
+<p>See end-to-end examples at (<a href="https://github.com/apache/bahir/tree/master/streaming-zeromq/examples">ZeroMQ Examples</a></p>
+
+ </div>
+</div>
+
+
+
+ <hr>
+
+ <!-- <p>© 2016 </p>-->
+ <footer class="site-footer">
+ <div class="wrapper">
+ <div class="footer-col-wrapper">
+
+ <div style="text-align:center;">
+
+ <div>
+ Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
+ 2.0</a>.
+ <br>
+
+ Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
+
+ </div>
+ </div>
+ </div>
+ </div>
+</footer>
+
+ </div>
+
+
+
+
+ <script type="text/javascript">
+ (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-79140859-1', 'bahir.apache.org');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+
+</script>
+
+
+
+ <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
+
+ <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
+
+
+ </body>
+</html>
+
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/spark-streaming-akka/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/spark-streaming-akka/index.html b/content/docs/spark/spark-streaming-akka/index.html
deleted file mode 100644
index f109639..0000000
--- a/content/docs/spark/spark-streaming-akka/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Spark Streaming Akka</title>
- <meta name="description" content="Spark Streaming Akka">
- <meta name="author" content="">
-
- <!-- Enable responsive viewport -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <!-- Le styles -->
- <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
- <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
- <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
- <!-- Le fav and touch icons -->
- <!-- Update these with your own images
- <link rel="shortcut icon" href="images/favicon.ico">
- <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
- <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
- -->
-
- <!-- make tables sortable by adding class tag "sortable" to table elements -->
- <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
-
-
- </head>
-
- <body>
-
-
-
-<!-- Navigation -->
-<div id="nav-bar">
- <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
- <div class="container">
- <!-- Brand and toggle get grouped for better mobile display -->
-
- <div class="navbar-header page-scroll">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand page-scroll" href="/#home">Home</a>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <nav class="navbar-collapse collapse" role="navigation">
- <ul class="nav navbar-nav">
-
- <li id="community">
-
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
-
-
- <li><a href="/community" target="_self">Get Involved</a></li>
-
-
- <li><a href="/contributing" target="_self">Contributing</a></li>
-
-
- <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
-
-
- <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
-
-
- <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
-
-
- <li><a href="/community-members" target="_self">Project Committers</a></li>
-
- </ul>
-
- </li>
-
- <li id="github">
-
-
- <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
-
- </li>
-
- <li id="apache">
-
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
-
-
- <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
-
-
- <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
-
-
- <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
-
-
- <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
-
-
- <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
-
- </ul>
-
- </li>
-
- </ul>
- </nav><!--/.navbar-collapse -->
- <!-- /.navbar-collapse -->
- </div>
- <!-- /.container -->
- </nav>
-</div>
-
-
- <div class="container">
-
-
-<!--<div class="hero-unit Spark Streaming Akka">
- <h1></h1>
-</div>
--->
-
-<div class="row">
- <div class="col-md-12">
- <!--
-
--->
-
-<h1 id="todo">TODO</h1>
-
- </div>
-</div>
-
-
-
- <hr>
-
- <!-- <p>© 2016 </p>-->
- <footer class="site-footer">
- <div class="wrapper">
- <div class="footer-col-wrapper">
-
- <div style="text-align:center;">
-
- <div>
- Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
- 2.0</a>.
- <br>
-
- Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
-
- </div>
- </div>
- </div>
- </div>
-</footer>
-
- </div>
-
-
-
-
- <script type="text/javascript">
- (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-79140859-1', 'bahir.apache.org');
- ga('require', 'linkid', 'linkid.js');
- ga('send', 'pageview');
-
-</script>
-
-
-
- <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
-
- <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
-
-
- </body>
-</html>
-
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/spark-streaming-mqtt/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/spark-streaming-mqtt/index.html b/content/docs/spark/spark-streaming-mqtt/index.html
deleted file mode 100644
index 736534b..0000000
--- a/content/docs/spark/spark-streaming-mqtt/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Spark Streaming MQTT</title>
- <meta name="description" content="Spark Streaming MQTT">
- <meta name="author" content="">
-
- <!-- Enable responsive viewport -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <!-- Le styles -->
- <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
- <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
- <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
- <!-- Le fav and touch icons -->
- <!-- Update these with your own images
- <link rel="shortcut icon" href="images/favicon.ico">
- <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
- <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
- -->
-
- <!-- make tables sortable by adding class tag "sortable" to table elements -->
- <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
-
-
- </head>
-
- <body>
-
-
-
-<!-- Navigation -->
-<div id="nav-bar">
- <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
- <div class="container">
- <!-- Brand and toggle get grouped for better mobile display -->
-
- <div class="navbar-header page-scroll">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand page-scroll" href="/#home">Home</a>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <nav class="navbar-collapse collapse" role="navigation">
- <ul class="nav navbar-nav">
-
- <li id="community">
-
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
-
-
- <li><a href="/community" target="_self">Get Involved</a></li>
-
-
- <li><a href="/contributing" target="_self">Contributing</a></li>
-
-
- <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
-
-
- <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
-
-
- <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
-
-
- <li><a href="/community-members" target="_self">Project Committers</a></li>
-
- </ul>
-
- </li>
-
- <li id="github">
-
-
- <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
-
- </li>
-
- <li id="apache">
-
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
-
-
- <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
-
-
- <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
-
-
- <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
-
-
- <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
-
-
- <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
-
- </ul>
-
- </li>
-
- </ul>
- </nav><!--/.navbar-collapse -->
- <!-- /.navbar-collapse -->
- </div>
- <!-- /.container -->
- </nav>
-</div>
-
-
- <div class="container">
-
-
-<!--<div class="hero-unit Spark Streaming MQTT">
- <h1></h1>
-</div>
--->
-
-<div class="row">
- <div class="col-md-12">
- <!--
-
--->
-
-<h1 id="todo">TODO</h1>
-
- </div>
-</div>
-
-
-
- <hr>
-
- <!-- <p>© 2016 </p>-->
- <footer class="site-footer">
- <div class="wrapper">
- <div class="footer-col-wrapper">
-
- <div style="text-align:center;">
-
- <div>
- Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
- 2.0</a>.
- <br>
-
- Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
-
- </div>
- </div>
- </div>
- </div>
-</footer>
-
- </div>
-
-
-
-
- <script type="text/javascript">
- (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-79140859-1', 'bahir.apache.org');
- ga('require', 'linkid', 'linkid.js');
- ga('send', 'pageview');
-
-</script>
-
-
-
- <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
-
- <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
-
-
- </body>
-</html>
-
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/docs/spark/spark-streaming-zeromq/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/spark-streaming-zeromq/index.html b/content/docs/spark/spark-streaming-zeromq/index.html
deleted file mode 100644
index e3a2291..0000000
--- a/content/docs/spark/spark-streaming-zeromq/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Spark Streaming ZeroMQ</title>
- <meta name="description" content="Spark Streaming ZeroMQ">
- <meta name="author" content="">
-
- <!-- Enable responsive viewport -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <!-- Le styles -->
- <link href="/assets/themes/apache-clean/bootstrap/css/bootstrap.css" rel="stylesheet">
- <link href="/assets/themes/apache-clean/css/style.css?body=1" rel="stylesheet" type="text/css">
- <link href="/assets/themes/apache-clean/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
- <!-- Le fav and touch icons -->
- <!-- Update these with your own images
- <link rel="shortcut icon" href="images/favicon.ico">
- <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
- <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
- -->
-
- <!-- make tables sortable by adding class tag "sortable" to table elements -->
- <script src="http://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
-
-
- </head>
-
- <body>
-
-
-
-<!-- Navigation -->
-<div id="nav-bar">
- <nav id="nav-container" class="navbar navbar-inverse " role="navigation">
- <div class="container">
- <!-- Brand and toggle get grouped for better mobile display -->
-
- <div class="navbar-header page-scroll">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand page-scroll" href="/#home">Home</a>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <nav class="navbar-collapse collapse" role="navigation">
- <ul class="nav navbar-nav">
-
- <li id="community">
-
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
-
-
- <li><a href="/community" target="_self">Get Involved</a></li>
-
-
- <li><a href="/contributing" target="_self">Contributing</a></li>
-
-
- <li><a href="/contributing-extensions" target="_self">Contributing Extensions</a></li>
-
-
- <li><a href="https://issues.apache.org/jira/browse/BAHIR" target="_blank">Issue Tracker</a></li>
-
-
- <li><a href="https://github.com/apache/bahir" target="_blank">Source Code</a></li>
-
-
- <li><a href="/community-members" target="_self">Project Committers</a></li>
-
- </ul>
-
- </li>
-
- <li id="github">
-
-
- <a href="https://github.com/apache/bahir" target="_blank">GitHub</a>
-
- </li>
-
- <li id="apache">
-
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
-
-
- <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank">Apache Software Foundation</a></li>
-
-
- <li><a href="http://www.apache.org/licenses/" target="_blank">Apache License</a></li>
-
-
- <li><a href="http://www.apache.org/foundation/sponsorship" target="_blank">Sponsorship</a></li>
-
-
- <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
-
-
- <li><a href="/privacy-policy" target="_self">Privacy Policy</a></li>
-
- </ul>
-
- </li>
-
- </ul>
- </nav><!--/.navbar-collapse -->
- <!-- /.navbar-collapse -->
- </div>
- <!-- /.container -->
- </nav>
-</div>
-
-
- <div class="container">
-
-
-<!--<div class="hero-unit Spark Streaming ZeroMQ">
- <h1></h1>
-</div>
--->
-
-<div class="row">
- <div class="col-md-12">
- <!--
-
--->
-
-<h1 id="todo">TODO</h1>
-
- </div>
-</div>
-
-
-
- <hr>
-
- <!-- <p>© 2016 </p>-->
- <footer class="site-footer">
- <div class="wrapper">
- <div class="footer-col-wrapper">
-
- <div style="text-align:center;">
-
- <div>
- Copyright © 2016 <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
- 2.0</a>.
- <br>
-
- Apache and the Apache Feather logo are trademarks of The Apache Software Foundation.
-
- </div>
- </div>
- </div>
- </div>
-</footer>
-
- </div>
-
-
-
-
- <script type="text/javascript">
- (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-79140859-1', 'bahir.apache.org');
- ga('require', 'linkid', 'linkid.js');
- ga('send', 'pageview');
-
-</script>
-
-
-
- <script src="/assets/themes/apache-clean/jquery/jquery-2.1.1.min.js"></script>
-
- <script src="/assets/themes/apache-clean/bootstrap/js/bootstrap.min.js"></script>
-
-
- </body>
-</html>
-
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/download/index.html
----------------------------------------------------------------------
diff --git a/content/download/index.html b/content/download/index.html
index 4b2f588..e3c93a2 100644
--- a/content/download/index.html
+++ b/content/download/index.html
@@ -139,35 +139,52 @@
<h2 id="apache-bahir-downloads">Apache Bahir Downloads</h2>
-<p>Apache Bahir will be released as a source and binary artifacts, as well as through Maven.</p>
-
-<h3 id="source-releases">Source releases</h3>
-
-<table>
- <thead>
- <tr>
- <th style="text-align: left">Release</th>
- <th style="text-align: left">Date</th>
- <th style="text-align: left">Commit</th>
- <th style="text-align: left">Download</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td style="text-align: left"><a href="/history.html#v0-2-0">0.2.0</a></td>
- <td style="text-align: left">10 Nov 2015</td>
- <td style="text-align: left"><a href="https://github.com/apache/bahir/commit/ba6e43c">ba6e43c</a></td>
- <td style="text-align: left"><a href="http://www.apache.org/dyn/closer.lua?filename=bahir/apache-bahir-0.2.0/apache-bahir-0.2.0-src.tar.gz&action=download">tar</a> (<a href="https://www.apache.org/dist/bahir/apache-bahir-0.2.0/apache-bahir-0.2.0-src.tar.gz.md5">md5</a> <a href="https://www.apache.org/dist/bahir/apache-bahir-0.2.0/apache-bahir-0.2.0-src.tar.gz.asc">pgp</a>) <br /> <a href="http://www.apache.org/dyn/closer.lua?filename=bahir/apache-bahir-0.2.0/apache-bahir-0.2.0-src.zip&action=download">zip</a> (<a href="https://www.apache.org/dist/bahir/apache-bahir-0.2.0/apache-bahir-0.2.0-src.zip.md5">md5</a> <a href="https://www.apache.org/dist/bahir/apache-bahir-0.2.0/apache-bahir-0.2.0-src.zip.asc">pgp</a>)</td>
- </tr>
- <tr>
- <td style="text-align: left"><a href="/history.html#v0-1-0">0.1.0</a></td>
- <td style="text-align: left">25 Sep 2015</td>
- <td style="text-align: left"><a href="https://github.com/apache/bahir/commit/cafecafe">cafecafe</a></td>
- <td style="text-align: left"><a href="http://www.apache.org/dyn/closer.lua?filename=bahir/apache-bahir-0.1.0/apache-bahir-0.1.0-src.tar.gz&action=download">tar</a> (<a href="https://www.apache.org/dist/bahir/apache-bahir-0.1.0/apache-bahir-0.1.0-src.tar.gz.md5">md5</a> <a href="https://www.apache.org/dist/bahir/apache-bahir-0.1.0/apache-bahir-0.1.0-src.tar.gz.asc">pgp</a>) <br /> <a href="http://www.apache.org/dyn/closer.lua?filename=bahir/apache-bahir-0.1.0/apache-bahir-0.1.0-src.zip&action=download">zip</a> (<a href="https://www.apache.org/dist/bahir/apache-bahir-0.1.0/apache-bahir-0.1.0-src.zip.md5">md5</a> <a href="https://www.apache.org/dist/bahir/apache-bahir-0.1.0/apache-bahir-0.1.0-src.zip.asc">pgp</a>)</td>
- </tr>
- </tbody>
+<p>Please find below the latest releases of Apache Bahir. Note that the binary artifacts are also published through Maven.</p>
+
+<h3 id="latest-release">Latest Release</h3>
+
+<p>Our latest release is Apache Bahir 2.0.0-preview, released on (07/01/2016).</p>
+
+<table class="table table-hover sortable">
+ <thead>
+ <tr>
+ <th><b>Name</b></th>
+ <th><b>Archive</b></th>
+ <th><b>MD5</b></th>
+ <!--th><b>SHA-1</b></th-->
+ <th><b>signature</b></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Apache Bahir 2.0.0-preview (tar.gz)</td>
+ <td><a href="http://www.apache.org/dyn/closer.lua/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.tar.gz">tar.gz</a></td>
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.tar.gz.md5">MD5</a></td>
+ <!--td><a href="http://www.apache.org/dist/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.tar.gz.sha1">SHA-1</a></td-->
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.tar.gz.asc">ASC</a></td>
+ </tr>
+ <tr>
+ <td>Apache Bahir 2.0.0-preview (zip)</td>
+ <td><a href="http://www.apache.org/dyn/closer.lua/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.zip">zip</a></td>
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.zip.md5">MD5</a></td>
+ <!--td><a href="http://www.apache.org/dist/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.zip.sha1">SHA-1</a></td-->
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0-preview/apache-bahir-2.0.0-preview-src.zip.asc">ASC</a></td>
+ </tr>
+ </tbody>
</table>
+<p>Instructions for checking hashes and signatures is indicated on the <a href="http://www.apache.org/info/verification.html">Verifying Apache Software Foundation Releases</a> page.</p>
+
+<p>You can also retrieve the source files from our svn repository by typing :</p>
+
+<pre>
+git clone https://github.com/apache/bahir
+cd bahir
+git checkout -b tags/v2.0.0-preview v2.0.0-preview
+</pre>
+
+<h3 id="verifying-a-release">Verifying a Release</h3>
+
<p>Choose a source distribution in either <em>tar</em> or <em>zip</em> format,
and <a href="http://www.apache.org/dyn/closer.cgi#verify">verify</a>
using the corresponding <em>pgp</em> signature (using the committer file in
@@ -177,13 +194,16 @@ download has completed OK.</p>
<p>For fast downloads, current source distributions are hosted on mirror servers;
older source distributions are in the
-<a href="http://archive.apache.org/dist/incubator/bahir/">archive</a>.
+<a href="http://archive.apache.org/dist/bahir/">archive</a>.
If a download from a mirror fails, retry, and the second download will likely
succeed.</p>
<p>For security, hash and signature files are always hosted at
<a href="https://www.apache.org/dist">Apache</a>.</p>
+<h3 id="previous-releases">Previous Releases</h3>
+
+<p>All previous releases of Apache Wink can be found in the <a href="http://archive.apache.org/dist/bahir/">archives</a>.</p>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/feed.xml
----------------------------------------------------------------------
diff --git a/content/feed.xml b/content/feed.xml
index a8849e4..4bce20e 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>http://bahir.apache.org/</link>
<atom:link href="http://bahir.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Mon, 01 Aug 2016 20:35:42 +0300</pubDate>
- <lastBuildDate>Mon, 01 Aug 2016 20:35:42 +0300</lastBuildDate>
+ <pubDate>Tue, 09 Aug 2016 15:48:45 -0700</pubDate>
+ <lastBuildDate>Tue, 09 Aug 2016 15:48:45 -0700</lastBuildDate>
<generator>Jekyll v3.0.0</generator>
<item>
@@ -23,7 +23,7 @@ it.</p>
this release includes faster-than-light travel and chewing gum that
never loses its flavor.</p>
</description>
- <pubDate>Tue, 10 Nov 2015 14:00:00 +0200</pubDate>
+ <pubDate>Tue, 10 Nov 2015 04:00:00 -0800</pubDate>
<link>http://bahir.apache.org/news/2015/11/10/release-0-2-0/</link>
<guid isPermaLink="true">http://bahir.apache.org/news/2015/11/10/release-0-2-0/</guid>
@@ -48,9 +48,9 @@ committers for their work on the project. Welcome!</p>
<li>Princess Leia</li>
</ul>
</description>
- <pubDate>Mon, 09 Nov 2015 05:03:07 +0200</pubDate>
- <link>http://bahir.apache.org/news/2015/11/09/new-committers/</link>
- <guid isPermaLink="true">http://bahir.apache.org/news/2015/11/09/new-committers/</guid>
+ <pubDate>Sun, 08 Nov 2015 19:03:07 -0800</pubDate>
+ <link>http://bahir.apache.org/news/2015/11/08/new-committers/</link>
+ <guid isPermaLink="true">http://bahir.apache.org/news/2015/11/08/new-committers/</guid>
<category>team</category>
@@ -67,7 +67,7 @@ committers for their work on the project. Welcome!</p>
<p>We\u2019re so pleased to be in the Apache Incbuator.</p>
</description>
- <pubDate>Fri, 25 Sep 2015 15:00:00 +0300</pubDate>
+ <pubDate>Fri, 25 Sep 2015 05:00:00 -0700</pubDate>
<link>http://bahir.apache.org/news/2015/09/25/release-0-1-0/</link>
<guid isPermaLink="true">http://bahir.apache.org/news/2015/09/25/release-0-1-0/</guid>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index 24835e5..5001014 100644
--- a/content/index.html
+++ b/content/index.html
@@ -43,6 +43,8 @@
<p>Apache Bahir provides extensions to distributed analytic platforms such as Apache Spark.</p>
+ <a href="/download" class="btn btn-primary btn-lg bigFingerButton" role="button">Download Apache Bahir 2.0.0-preview</a></p>
+
</div>
</div>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/news/2015/11/08/new-committers/index.html
----------------------------------------------------------------------
diff --git a/content/news/2015/11/08/new-committers/index.html b/content/news/2015/11/08/new-committers/index.html
new file mode 100644
index 0000000..f0dd77d
--- /dev/null
+++ b/content/news/2015/11/08/new-committers/index.html
@@ -0,0 +1,11 @@
+<!--
+
+-->
+
+<p>The Bahir project management committee today added two new
+committers for their work on the project. Welcome!</p>
+
+<ul>
+ <li>Darth Vader</li>
+ <li>Princess Leia</li>
+</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/a2619a72/content/news/2015/11/09/new-committers/index.html
----------------------------------------------------------------------
diff --git a/content/news/2015/11/09/new-committers/index.html b/content/news/2015/11/09/new-committers/index.html
deleted file mode 100644
index f0dd77d..0000000
--- a/content/news/2015/11/09/new-committers/index.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!--
-
--->
-
-<p>The Bahir project management committee today added two new
-committers for their work on the project. Welcome!</p>
-
-<ul>
- <li>Darth Vader</li>
- <li>Princess Leia</li>
-</ul>