Giter Club home page Giter Club logo

abhirockzz / accs-cassandra-twitter-timeseries-app Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 12 KB

Simple time series app with Twitter data using Cassandra on Oracle Data Hub Cloud

Home Page: https://medium.com/oracledevs/getting-started-with-cassandra-using-oracle-data-hub-cloud-550889f4126e

Java 100.00%
oracle-application-container-cloud cassandra oracle-database nosql spring-boot spring-data spring-data-cassandra oracle-cloud twitter timeseries

accs-cassandra-twitter-timeseries-app's Introduction

Sample time series app based on Twitter data with Cassandra on Oracle Data Hub Cloud

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/producer

The 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 info

For more info, check out the complete blog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.