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/15 20:39:28 UTC
[1/2] bahir-website git commit: Publishing from
b30d92b4a543f4746aa42d12afa150621b183bc8
Repository: bahir-website
Updated Branches:
refs/heads/asf-site 0d0ba347c -> 65ae00eb1
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/privacy-policy/index.html
----------------------------------------------------------------------
diff --git a/content/privacy-policy/index.html b/content/privacy-policy/index.html
index 8bdd61f..432dd77 100644
--- a/content/privacy-policy/index.html
+++ b/content/privacy-policy/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
[2/2] bahir-website git commit: Publishing from
b30d92b4a543f4746aa42d12afa150621b183bc8
Posted by lr...@apache.org.
Publishing from b30d92b4a543f4746aa42d12afa150621b183bc8
Project: http://git-wip-us.apache.org/repos/asf/bahir-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir-website/commit/65ae00eb
Tree: http://git-wip-us.apache.org/repos/asf/bahir-website/tree/65ae00eb
Diff: http://git-wip-us.apache.org/repos/asf/bahir-website/diff/65ae00eb
Branch: refs/heads/asf-site
Commit: 65ae00eb179f9b82568228b3b3cc1dd22b2d6ed3
Parents: 0d0ba34
Author: Luciano Resende <lr...@apache.org>
Authored: Mon Aug 15 13:37:29 2016 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Mon Aug 15 13:37:29 2016 -0700
----------------------------------------------------------------------
content/community-members/index.html | 5 +-
content/community/index.html | 5 +-
content/contributing-extensions/index.html | 5 +-
content/contributing/index.html | 5 +-
.../docs/spark/2.0.0/documentation/index.html | 229 +++++++++++++
.../2.0.0/spark-sql-streaming-mqtt/index.html | 321 +++++++++++++++++++
.../spark/2.0.0/spark-streaming-akka/index.html | 277 ++++++++++++++++
.../spark/2.0.0/spark-streaming-mqtt/index.html | 258 +++++++++++++++
.../2.0.0/spark-streaming-twitter/index.html | 260 +++++++++++++++
.../2.0.0/spark-streaming-zeromq/index.html | 252 +++++++++++++++
.../docs/spark/current/documentation/index.html | 15 +-
.../current/spark-sql-streaming-mqtt.template | 5 +-
.../current/spark-sql-streaming-mqtt/index.html | 11 +-
.../spark/current/spark-streaming-akka.template | 5 +-
.../current/spark-streaming-akka/index.html | 11 +-
.../spark/current/spark-streaming-mqtt.template | 5 +-
.../current/spark-streaming-mqtt/index.html | 11 +-
.../current/spark-streaming-twitter.template | 5 +-
.../current/spark-streaming-twitter/index.html | 11 +-
.../current/spark-streaming-zeromq.template | 5 +-
.../current/spark-streaming-zeromq/index.html | 11 +-
content/download/index.html | 29 +-
content/feed.xml | 4 +-
content/history/index.html | 5 +-
content/index.html | 7 +-
content/privacy-policy/index.html | 5 +-
26 files changed, 1708 insertions(+), 54 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/community-members/index.html
----------------------------------------------------------------------
diff --git a/content/community-members/index.html b/content/community-members/index.html
index c982c1e..a40116e 100644
--- a/content/community-members/index.html
+++ b/content/community-members/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/community/index.html
----------------------------------------------------------------------
diff --git a/content/community/index.html b/content/community/index.html
index 8f4f7b2..9019127 100644
--- a/content/community/index.html
+++ b/content/community/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/contributing-extensions/index.html
----------------------------------------------------------------------
diff --git a/content/contributing-extensions/index.html b/content/contributing-extensions/index.html
index b7f4b11..ef1c16a 100644
--- a/content/contributing-extensions/index.html
+++ b/content/contributing-extensions/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/contributing/index.html
----------------------------------------------------------------------
diff --git a/content/contributing/index.html b/content/contributing/index.html
index efb6eb6..bf9e36c 100644
--- a/content/contributing/index.html
+++ b/content/contributing/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/docs/spark/2.0.0/documentation/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/2.0.0/documentation/index.html b/content/docs/spark/2.0.0/documentation/index.html
new file mode 100644
index 0000000..75c7d8c
--- /dev/null
+++ b/content/docs/spark/2.0.0/documentation/index.html
@@ -0,0 +1,229 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Extensions for Apache Spark</title>
+ <meta name="description" content="Extensions for Apache Spark">
+ <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="documentation">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Documentation<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</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 Extensions for Apache Spark">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <!--
+
+-->
+
+<h3 id="apache-bahir-extensions-for-apache-spark">Apache Bahir Extensions for Apache Spark</h3>
+
+<p><br /></p>
+
+<h4 id="structured-streaming-data-sources">Structured Streaming Data Sources</h4>
+
+<p><a href="../spark-sql-streaming-mqtt">MQTT data source</a></p>
+
+<p><br /></p>
+
+<h4 id="discretized-streams-dstreams-connectors">Discretized Streams (DStreams) Connectors</h4>
+
+<p><a href="../spark-streaming-akka">Akka connector</a></p>
+
+<p><a href="../spark-streaming-mqtt">MQTT connector</a></p>
+
+<p><a href="../spark-streaming-twitter">Twitter connector</a></p>
+
+<p><a href="../spark-streaming-zeromq">ZeroMQ connector</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/65ae00eb/content/docs/spark/2.0.0/spark-sql-streaming-mqtt/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/2.0.0/spark-sql-streaming-mqtt/index.html b/content/docs/spark/2.0.0/spark-sql-streaming-mqtt/index.html
new file mode 100644
index 0000000..3064358
--- /dev/null
+++ b/content/docs/spark/2.0.0/spark-sql-streaming-mqtt/index.html
@@ -0,0 +1,321 @@
+
+<!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="documentation">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Documentation<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</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>
+
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-sql-streaming-mqtt" % "2.0.0"
+</code></pre>
+
+<p>Using Maven:</p>
+
+<pre><code><dependency>
+ <groupId>org.apache.bahir</groupId>
+ <artifactId>spark-sql-streaming-mqtt_2.11</artifactId>
+ <version>2.0.0</version>
+</dependency>
+</code></pre>
+
+<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>
+
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-sql-streaming-mqtt_2.11:2.0.0
+</code></pre>
+
+<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>
+
+<pre><code>sqlContext.readStream
+ .format("org.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider")
+ .option("topic", "mytopic")
+ .load("tcp://localhost:1883")
+</code></pre>
+
+<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>
+
+<pre><code>sqlContext.readStream
+ .format("org.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider")
+ .option("topic", "mytopic")
+ .option("localStorage", "/path/to/localdir")
+ .option("clientId", "some-client-id")
+ .load("tcp://localhost:1883")
+</code></pre>
+
+<h3 id="scala-api">Scala API</h3>
+
+<p>An example, for scala API to count words from incoming message stream.</p>
+
+<pre><code>// Create DataFrame representing the stream of input lines from connection to mqtt server
+val lines = spark.readStream
+ .format("org.apache.bahir.sql.streaming.mqtt.MQTTStreamSourceProvider")
+ .option("topic", topic)
+ .load(brokerUrl).as[(String, Timestamp)]
+
+// 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>
+
+<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/65ae00eb/content/docs/spark/2.0.0/spark-streaming-akka/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/2.0.0/spark-streaming-akka/index.html b/content/docs/spark/2.0.0/spark-streaming-akka/index.html
new file mode 100644
index 0000000..401166e
--- /dev/null
+++ b/content/docs/spark/2.0.0/spark-streaming-akka/index.html
@@ -0,0 +1,277 @@
+
+<!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="documentation">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Documentation<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</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>
+
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-akka" % "2.0.0"
+</code></pre>
+
+<p>Using Maven:</p>
+
+<pre><code><dependency>
+ <groupId>org.apache.bahir</groupId>
+ <artifactId>spark-streaming-akka_2.11</artifactId>
+ <version>2.0.0</version>
+</dependency>
+</code></pre>
+
+<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>
+
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_akka_2.11:2.0.0
+</code></pre>
+
+<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>
+
+<pre><code>class CustomActor extends ActorReceiver {
+ def receive = {
+ case data: String => store(data)
+ }
+}
+
+// A new input stream can be created with this custom actor as
+val ssc: StreamingContext = ...
+val lines = AkkaUtils.createStream[String](ssc, Props[CustomActor](), "CustomReceiver")
+</code></pre>
+
+<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>
+
+<pre><code>class CustomActor extends JavaActorReceiver {
+ @Override
+ public void onReceive(Object msg) throws Exception {
+ store((String) msg);
+ }
+}
+
+// A new input stream can be created with this custom actor as
+JavaStreamingContext jssc = ...;
+JavaDStream<String> lines = AkkaUtils.<String>createStream(jssc, Props.create(CustomActor.class), "CustomReceiver");
+</code></pre>
+
+<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/65ae00eb/content/docs/spark/2.0.0/spark-streaming-mqtt/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/2.0.0/spark-streaming-mqtt/index.html b/content/docs/spark/2.0.0/spark-streaming-mqtt/index.html
new file mode 100644
index 0000000..8b7fa09
--- /dev/null
+++ b/content/docs/spark/2.0.0/spark-streaming-mqtt/index.html
@@ -0,0 +1,258 @@
+
+<!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="documentation">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Documentation<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</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>
+
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-mqtt" % "2.0.0"
+</code></pre>
+
+<p>Using Maven:</p>
+
+<pre><code><dependency>
+ <groupId>org.apache.bahir</groupId>
+ <artifactId>spark-streaming-mqtt_2.11</artifactId>
+ <version>2.0.0</version>
+</dependency>
+</code></pre>
+
+<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>
+
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_mqtt_2.11:2.0.0
+</code></pre>
+
+<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>
+
+<pre><code>val lines = MQTTUtils.createStream(ssc, brokerUrl, topic)
+</code></pre>
+
+<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>
+
+<pre><code>JavaDStream<String> lines = MQTTUtils.createStream(jssc, brokerUrl, topic);
+</code></pre>
+
+<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/65ae00eb/content/docs/spark/2.0.0/spark-streaming-twitter/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/2.0.0/spark-streaming-twitter/index.html b/content/docs/spark/2.0.0/spark-streaming-twitter/index.html
new file mode 100644
index 0000000..9090d75
--- /dev/null
+++ b/content/docs/spark/2.0.0/spark-streaming-twitter/index.html
@@ -0,0 +1,260 @@
+
+<!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="documentation">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Documentation<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</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>
+
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-twitter" % "2.0.0"
+</code></pre>
+
+<p>Using Maven:</p>
+
+<pre><code><dependency>
+ <groupId>org.apache.bahir</groupId>
+ <artifactId>spark-streaming-twitter_2.11</artifactId>
+ <version>2.0.0</version>
+</dependency>
+</code></pre>
+
+<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>
+
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_twitter_2.11:2.0.0
+</code></pre>
+
+<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>
+
+<pre><code>import org.apache.spark.streaming.twitter._
+
+TwitterUtils.createStream(ssc, None)
+</code></pre>
+
+<h3 id="java-api">Java API</h3>
+
+<pre><code>import org.apache.spark.streaming.twitter.*;
+
+TwitterUtils.createStream(jssc);
+</code></pre>
+
+<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/65ae00eb/content/docs/spark/2.0.0/spark-streaming-zeromq/index.html
----------------------------------------------------------------------
diff --git a/content/docs/spark/2.0.0/spark-streaming-zeromq/index.html b/content/docs/spark/2.0.0/spark-streaming-zeromq/index.html
new file mode 100644
index 0000000..1ac054c
--- /dev/null
+++ b/content/docs/spark/2.0.0/spark-streaming-zeromq/index.html
@@ -0,0 +1,252 @@
+
+<!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="documentation">
+
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Documentation<b class="caret"></b></a>
+ <ul class="dropdown-menu dropdown-left">
+
+
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</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>
+
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-zeromq" % "2.0.0"
+</code></pre>
+
+<p>Using Maven:</p>
+
+<pre><code><dependency>
+ <groupId>org.apache.bahir</groupId>
+ <artifactId>spark-streaming-zeromq_2.11</artifactId>
+ <version>2.0.0</version>
+</dependency>
+</code></pre>
+
+<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>
+
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_zeromq_2.11:2.0.0
+</code></pre>
+
+<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>
+
+<pre><code>val lines = ZeroMQUtils.createStream(ssc, ...)
+</code></pre>
+
+<h3 id="java-api">Java API</h3>
+
+<pre><code>JavaDStream<String> lines = ZeroMQUtils.createStream(jssc, ...);
+</code></pre>
+
+<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/65ae00eb/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
index 544178c..75c7d8c 100644
--- a/content/docs/spark/current/documentation/index.html
+++ b/content/docs/spark/current/documentation/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,19 +158,19 @@
<h4 id="structured-streaming-data-sources">Structured Streaming Data Sources</h4>
-<p><a href="/docs/spark/current/spark-sql-streaming-mqtt">MQTT data source</a></p>
+<p><a href="../spark-sql-streaming-mqtt">MQTT data source</a></p>
<p><br /></p>
<h4 id="discretized-streams-dstreams-connectors">Discretized Streams (DStreams) Connectors</h4>
-<p><a href="/docs/spark/current/spark-streaming-akka">Akka connector</a></p>
+<p><a href="../spark-streaming-akka">Akka connector</a></p>
-<p><a href="/docs/spark/current/spark-streaming-mqtt">MQTT connector</a></p>
+<p><a href="../spark-streaming-mqtt">MQTT connector</a></p>
-<p><a href="/docs/spark/current/spark-streaming-twitter">Twitter connector</a></p>
+<p><a href="../spark-streaming-twitter">Twitter connector</a></p>
-<p><a href="/docs/spark/current/spark-streaming-zeromq">ZeroMQ connector</a></p>
+<p><a href="../spark-streaming-zeromq">ZeroMQ connector</a></p>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/docs/spark/current/spark-sql-streaming-mqtt.template
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-sql-streaming-mqtt.template b/content/docs/spark/current/spark-sql-streaming-mqtt.template
index 19aa190..33c4d29 100644
--- a/content/docs/spark/current/spark-sql-streaming-mqtt.template
+++ b/content/docs/spark/current/spark-sql-streaming-mqtt.template
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/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
index f47c64a..68b8ea6 100644
--- a/content/docs/spark/current/spark-sql-streaming-mqtt/index.html
+++ b/content/docs/spark/current/spark-sql-streaming-mqtt/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,7 +158,7 @@
<p>Using SBT:</p>
-<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-sql-streaming-mqtt" % "2.0.0"
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-sql-streaming-mqtt" % "2.1.0-SNAPSHOT"
</code></pre>
<p>Using Maven:</p>
@@ -163,14 +166,14 @@
<pre><code><dependency>
<groupId>org.apache.bahir</groupId>
<artifactId>spark-sql-streaming-mqtt_2.11</artifactId>
- <version>2.0.0</version>
+ <version>2.1.0-SNAPSHOT</version>
</dependency>
</code></pre>
<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>
-<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-sql-streaming-mqtt_2.11:2.0.0
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-sql-streaming-mqtt_2.11:2.1.0-SNAPSHOT
</code></pre>
<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/docs/spark/current/spark-streaming-akka.template
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-akka.template b/content/docs/spark/current/spark-streaming-akka.template
index 789dfb4..a186641 100644
--- a/content/docs/spark/current/spark-streaming-akka.template
+++ b/content/docs/spark/current/spark-streaming-akka.template
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/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
index 3384628..5cd1cda 100644
--- a/content/docs/spark/current/spark-streaming-akka/index.html
+++ b/content/docs/spark/current/spark-streaming-akka/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,7 +158,7 @@
<p>Using SBT:</p>
-<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-akka" % "2.0.0"
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-akka" % "2.1.0-SNAPSHOT"
</code></pre>
<p>Using Maven:</p>
@@ -163,14 +166,14 @@
<pre><code><dependency>
<groupId>org.apache.bahir</groupId>
<artifactId>spark-streaming-akka_2.11</artifactId>
- <version>2.0.0</version>
+ <version>2.1.0-SNAPSHOT</version>
</dependency>
</code></pre>
<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>
-<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_akka_2.11:2.0.0
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_akka_2.11:2.1.0-SNAPSHOT
</code></pre>
<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/docs/spark/current/spark-streaming-mqtt.template
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-mqtt.template b/content/docs/spark/current/spark-streaming-mqtt.template
index 19aa190..33c4d29 100644
--- a/content/docs/spark/current/spark-streaming-mqtt.template
+++ b/content/docs/spark/current/spark-streaming-mqtt.template
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/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
index edcfd20..0c7e98f 100644
--- a/content/docs/spark/current/spark-streaming-mqtt/index.html
+++ b/content/docs/spark/current/spark-streaming-mqtt/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,7 +158,7 @@
<p>Using SBT:</p>
-<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-mqtt" % "2.0.0"
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-mqtt" % "2.1.0-SNAPSHOT"
</code></pre>
<p>Using Maven:</p>
@@ -163,14 +166,14 @@
<pre><code><dependency>
<groupId>org.apache.bahir</groupId>
<artifactId>spark-streaming-mqtt_2.11</artifactId>
- <version>2.0.0</version>
+ <version>2.1.0-SNAPSHOT</version>
</dependency>
</code></pre>
<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>
-<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_mqtt_2.11:2.0.0
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_mqtt_2.11:2.1.0-SNAPSHOT
</code></pre>
<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/docs/spark/current/spark-streaming-twitter.template
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-twitter.template b/content/docs/spark/current/spark-streaming-twitter.template
index 26c2c9d..f3247ff 100644
--- a/content/docs/spark/current/spark-streaming-twitter.template
+++ b/content/docs/spark/current/spark-streaming-twitter.template
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/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
index 949098d..f6465e3 100644
--- a/content/docs/spark/current/spark-streaming-twitter/index.html
+++ b/content/docs/spark/current/spark-streaming-twitter/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,7 +158,7 @@
<p>Using SBT:</p>
-<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-twitter" % "2.0.0"
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-twitter" % "2.1.0-SNAPSHOT"
</code></pre>
<p>Using Maven:</p>
@@ -163,14 +166,14 @@
<pre><code><dependency>
<groupId>org.apache.bahir</groupId>
<artifactId>spark-streaming-twitter_2.11</artifactId>
- <version>2.0.0</version>
+ <version>2.1.0-SNAPSHOT</version>
</dependency>
</code></pre>
<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>
-<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_twitter_2.11:2.0.0
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_twitter_2.11:2.1.0-SNAPSHOT
</code></pre>
<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/docs/spark/current/spark-streaming-zeromq.template
----------------------------------------------------------------------
diff --git a/content/docs/spark/current/spark-streaming-zeromq.template b/content/docs/spark/current/spark-streaming-zeromq.template
index 113a583..058ae12 100644
--- a/content/docs/spark/current/spark-streaming-zeromq.template
+++ b/content/docs/spark/current/spark-streaming-zeromq.template
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/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
index cc54851..4a42f3a 100644
--- a/content/docs/spark/current/spark-streaming-zeromq/index.html
+++ b/content/docs/spark/current/spark-streaming-zeromq/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,7 +158,7 @@
<p>Using SBT:</p>
-<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-zeromq" % "2.0.0"
+<pre><code>libraryDependencies += "org.apache.bahir" %% "spark-streaming-zeromq" % "2.1.0-SNAPSHOT"
</code></pre>
<p>Using Maven:</p>
@@ -163,14 +166,14 @@
<pre><code><dependency>
<groupId>org.apache.bahir</groupId>
<artifactId>spark-streaming-zeromq_2.11</artifactId>
- <version>2.0.0</version>
+ <version>2.1.0-SNAPSHOT</version>
</dependency>
</code></pre>
<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>
-<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_zeromq_2.11:2.0.0
+<pre><code>$ bin/spark-shell --packages org.apache.bahir:spark-streaming_zeromq_2.11:2.1.0-SNAPSHOT
</code></pre>
<p>Unlike using <code>--jars</code>, using <code>--packages</code> ensures that this library and its dependencies will be added to the classpath.
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/download/index.html
----------------------------------------------------------------------
diff --git a/content/download/index.html b/content/download/index.html
index b7449d5..7841351 100644
--- a/content/download/index.html
+++ b/content/download/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
@@ -155,7 +158,7 @@
<h3 id="latest-release">Latest Release</h3>
-<p>Our latest release is Apache Bahir 2.0.0-preview, released on (07/01/2016).</p>
+<p>Our latest release is Apache Bahir 2.0.0, released on (08/11/2016).</p>
<table class="table table-hover sortable">
<thead>
@@ -169,18 +172,18 @@
</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>
+ <td>Apache Bahir 2.0.0 (tar.gz)</td>
+ <td><a href="http://www.apache.org/dyn/closer.lua/bahir/2.0.0/apache-bahir-2.0.0-src.tar.gz">tar.gz</a></td>
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0/apache-bahir-2.0.0-src.tar.gz.md5">MD5</a></td>
+ <!--td><a href="http://www.apache.org/dist/bahir/2.0.0/apache-bahir-2.0.0-src.tar.gz.sha1">SHA-1</a></td-->
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0/apache-bahir-2.0.0-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>
+ <td>Apache Bahir 2.0.0 (zip)</td>
+ <td><a href="http://www.apache.org/dyn/closer.lua/bahir/2.0.0/apache-bahir-2.0.0-src.zip">zip</a></td>
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0/apache-bahir-2.0.0-src.zip.md5">MD5</a></td>
+ <!--td><a href="http://www.apache.org/dist/bahir/2.0.0/apache-bahir-2.0.0-src.zip.sha1">SHA-1</a></td-->
+ <td><a href="http://www.apache.org/dist/bahir/2.0.0/apache-bahir-2.0.0-src.zip.asc">ASC</a></td>
</tr>
</tbody>
</table>
@@ -192,7 +195,7 @@
<pre>
git clone https://github.com/apache/bahir
cd bahir
-git checkout -b tags/v2.0.0-preview v2.0.0-preview
+git checkout -b tags/v2.0.0 v2.0.0
</pre>
<h3 id="verifying-a-release">Verifying a Release</h3>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/feed.xml
----------------------------------------------------------------------
diff --git a/content/feed.xml b/content/feed.xml
index 1beccf9..b24d318 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>Wed, 10 Aug 2016 14:57:49 -0700</pubDate>
- <lastBuildDate>Wed, 10 Aug 2016 14:57:49 -0700</lastBuildDate>
+ <pubDate>Mon, 15 Aug 2016 13:37:24 -0700</pubDate>
+ <lastBuildDate>Mon, 15 Aug 2016 13:37:24 -0700</lastBuildDate>
<generator>Jekyll v3.0.0</generator>
<item>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/history/index.html
----------------------------------------------------------------------
diff --git a/content/history/index.html b/content/history/index.html
index 7fd19b6..3aeafb8 100644
--- a/content/history/index.html
+++ b/content/history/index.html
@@ -89,7 +89,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>
http://git-wip-us.apache.org/repos/asf/bahir-website/blob/65ae00eb/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index 5e14dd0..b91bb73 100644
--- a/content/index.html
+++ b/content/index.html
@@ -43,7 +43,7 @@
<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>
+ <a href="/download" class="btn btn-primary btn-lg bigFingerButton" role="button">Download Apache Bahir 2.0.0</a></p>
</div>
</div>
@@ -101,7 +101,10 @@
<ul class="dropdown-menu dropdown-left">
- <li><a href="/docs/spark/current/documentation" target="_self">Current</a></li>
+ <li><a href="/docs/spark/current/documentation" target="_self">Bahir Spark Extensions - Current</a></li>
+
+
+ <li><a href="/docs/spark/2.0.0/documentation" target="_self">Bahir Spark Extensions - 2.0.0</a></li>
</ul>