Apache Bahir - Spark Extensions Distribution

The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developers and users.

License

License

Categories

Categories

Distribution Build Tools
GroupId

GroupId

org.apache.bahir
ArtifactId

ArtifactId

bahir-spark-distribution_2.12
Last Version

Last Version

2.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

Apache Bahir - Spark Extensions Distribution
The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developers and users.
Project URL

Project URL

http://bahir.apache.org/
Project Organization

Project Organization

The Apache Software Foundation

Download bahir-spark-distribution_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/org.apache.bahir/bahir-spark-distribution_2.12/ -->
<dependency>
    <groupId>org.apache.bahir</groupId>
    <artifactId>bahir-spark-distribution_2.12</artifactId>
    <version>2.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.apache.bahir/bahir-spark-distribution_2.12/
implementation 'org.apache.bahir:bahir-spark-distribution_2.12:2.4.0'
// https://jarcasting.com/artifacts/org.apache.bahir/bahir-spark-distribution_2.12/
implementation ("org.apache.bahir:bahir-spark-distribution_2.12:2.4.0")
'org.apache.bahir:bahir-spark-distribution_2.12:jar:2.4.0'
<dependency org="org.apache.bahir" name="bahir-spark-distribution_2.12" rev="2.4.0">
  <artifact name="bahir-spark-distribution_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.apache.bahir', module='bahir-spark-distribution_2.12', version='2.4.0')
)
libraryDependencies += "org.apache.bahir" % "bahir-spark-distribution_2.12" % "2.4.0"
[org.apache.bahir/bahir-spark-distribution_2.12 "2.4.0"]

Dependencies

compile (10)

Group / Artifact Type Version
org.apache.bahir : spark-sql-cloudant_2.12 jar 2.4.0
org.apache.bahir : spark-sql-streaming-akka_2.12 jar 2.4.0
org.apache.bahir : spark-sql-streaming-mqtt_2.12 jar 2.4.0
org.apache.bahir : spark-streaming-akka_2.12 jar 2.4.0
org.apache.bahir : spark-streaming-mqtt_2.12 jar 2.4.0
org.apache.bahir : spark-streaming-pubnub_2.12 jar 2.4.0
org.apache.bahir : spark-streaming-pubsub_2.12 jar 2.4.0
org.apache.bahir : spark-streaming-twitter_2.12 jar 2.4.0
org.apache.bahir : spark-streaming-zeromq_2.12 jar 2.4.0
org.spark-project.spark : unused jar 1.0.0

test (3)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.0.3
junit : junit jar 4.12
com.thoughtworks.paranamer : paranamer jar 2.8

Project Modules

There are no modules declared in this project.

Apache Bahir

Apache Bahir provides extensions to distributed analytics platforms such as Apache Spark & Apache Flink.

http://bahir.apache.org/

Apache Bahir origins

The Initial Bahir source code (see issue BAHIR-1) containing the source for the Apache Spark streaming connectors for akka, mqtt, twitter, zeromq extracted from Apache Spark revision 8301fad (before the deletion of the streaming connectors akka, mqtt, twitter, zeromq).

Source code structure

Source code folder structure:

- streaming-akka
  - examples/src/main/...
  - src/main/...
- streaming-mqtt
  - examples
  - src
  - python
- ...

Building Bahir

Bahir is built using Apache Maven. To build Bahir and its example programs, run:

mvn -DskipTests clean install

Running tests

Testing first requires building Bahir. Once Bahir is built, tests can be run using:

mvn test

Example programs

Each extension currently available in Apache Bahir has an example application located under the "examples" folder.

Documentation

Currently, each submodule has its own README.md, with information on example usages and API.

Furthermore, to generate scaladocs for each module:

$ mvn package

Scaladocs is generated in, MODULE_NAME/target/site/scaladocs/index.html. __ Where MODULE_NAME is one of, sql-streaming-mqtt, streaming-akka, streaming-mqtt, streaming-zeromq, streaming-twitter. __

A note about Apache Spark integration

Currently, each module in Bahir is available through spark packages. Please follow linking sub section in module specific README.md for more details.

org.apache.bahir

The Apache Software Foundation

Versions

Version
2.4.0