commit | c7f158d86634d602a19a4abfd873809f8ece9d03 | [log] [tgz] |
---|---|---|
author | Esteban Laver <emlaver@us.ibm.com> | Tue Jul 25 22:53:58 2017 -0700 |
committer | Christian Kadner <ckadner@us.ibm.com> | Tue Jul 25 22:53:58 2017 -0700 |
tree | 51dae8c0d1a91603e0aea01feb6d1e0a11170e14 | |
parent | 0d9725d4ccc315760ecc35eeeb25c58a15258b3a [diff] |
[BAHIR-110] Implement _changes API for sql-cloudant - support loading Cloudant data into Spark DataFrames and SQL tables using '_changes' endpoint - update README to explain the new config options and differences between '_all_docs' and '_changes' endpoints when loading data - Add test suite to test Spark DataFrames using the '_all_docs' and '_changes' endpoint, assert Cloudant config options, and test Spark SQL temporary views Closes #45
Apache Bahir provides extensions to distributed analytics platforms such as Apache Spark & Apache Flink.
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 folder structure:
- streaming-akka - examples/src/main/... - src/main/... - streaming-mqtt - examples - src - python - ...
Bahir is built using Apache Maven. To build Bahir and its example programs, run:
mvn -DskipTests clean install
Testing first requires building Bahir. Once Bahir is built, tests can be run using:
mvn test
Each extension currently available in Apache Bahir has an example application located under the “examples” folder.
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
. __
Currently, each module in Bahir is available through spark packages. Please follow linking sub section in module specific README.md for more details.