Mirror of Apache Bahir

Clone this repo:
  1. 8b647c8 [BAHIR-320] Add maven ci by Joao Boto · 2 years, 1 month ago master
  2. 73c28fe [BAHIR-320] Migrate travis to github actions by Joao Boto · 2 years, 1 month ago
  3. 692ccb5 Bump akka-actor_2.12 from 2.5.12 to 2.5.16 by dependabot[bot] · 2 years, 1 month ago
  4. bce173b Bump junit from 4.12 to 4.13.1 by dependabot[bot] · 2 years, 1 month ago
  5. f27d992 Bump protobuf-java from 2.5.0 to 3.16.3 by dependabot[bot] · 2 years, 2 months ago

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.