commit | 0e1505a8960bfe40ea025267bbf36ec5c4cf5c79 | [log] [tgz] |
---|---|---|
author | Esteban Laver <emlaver@us.ibm.com> | Fri Sep 08 10:33:26 2017 -0400 |
committer | Luciano Resende <lresende@apache.org> | Tue Dec 19 20:26:50 2017 -0800 |
tree | 9e14b3bf0eb7b20d50c81882f6b9de6d097d6622 | |
parent | 57cb15fd39bd949a5e80a7417ff9c822b8410f2b [diff] |
[BAHIR-128] Improve sql-cloudant _changes receiver This change improves the stability of _changes receiver and fix the intermitent failing test in sql-cloudant's CloudantChangesDFSuite. How Improve performance and decrease testing time by setting batch size to 8 seconds and using seq_interval _changes feed option. Use getResource to load json files path Added Mike Rhodes's ChangesRowScanner for reading each _changes line and transforming to GSON's JSON object Added Mike Rhodes's ChangesRow representing a row in the changes feed Closes #57
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.