https://github.com/abhirockzz/accs-cassandra-twitter-timeseries-app
Simple time series app with Twitter data using Cassandra on Oracle Data Hub Cloud
https://github.com/abhirockzz/accs-cassandra-twitter-timeseries-app
cassandra nosql oracle-application-container-cloud oracle-cloud oracle-database spring-boot spring-data spring-data-cassandra timeseries twitter
Last synced: 15 days ago
JSON representation
Simple time series app with Twitter data using Cassandra on Oracle Data Hub Cloud
- Host: GitHub
- URL: https://github.com/abhirockzz/accs-cassandra-twitter-timeseries-app
- Owner: abhirockzz
- Created: 2018-01-09T08:50:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T15:56:29.000Z (over 7 years ago)
- Last Synced: 2025-03-24T00:25:29.648Z (about 1 month ago)
- Topics: cassandra, nosql, oracle-application-container-cloud, oracle-cloud, oracle-database, spring-boot, spring-data, spring-data-cassandra, timeseries, twitter
- Language: Java
- Homepage: https://medium.com/oracledevs/getting-started-with-cassandra-using-oracle-data-hub-cloud-550889f4126e
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Sample time series app based on Twitter data with Cassandra on [Oracle Data Hub Cloud](https://cloud.oracle.com/datahub)

The overall solution is pretty simple
**Tweet Producer** is a Java app which uses the Twitter streaming API to consume tweets and push them to Cassandra cluster on Data Hub
- It’s a Java app and uses **twitter4j** library to consume the tweet stream
- Applies user defined filter criteria/terms to filter relevant tweets from the stream
- Pushes the tweet data to Cassandra asynchronously
- It provides a REST API to start/stop the app on demand e.g. /tweets/producerThe **Tweet Query service** defines a REST API and interacts with Cassandra to fetch tweet data
- Its a basic **Spring Boot** app which leverages **Spring Data** and Spring Web
- The Cassandra module in Spring Data is used to interact with Cassandra
- `spring-boot-starter-web module` is used to expose a REST API to query tweet related infoFor more info, check out the [complete blog](https://medium.com/oracledevs/getting-started-with-cassandra-using-oracle-data-hub-cloud-550889f4126e)