GithubHelp home page GithubHelp logo

paroshdey / accs-kafka-cassandra-tweet-analysis-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abhirockzz/accs-kafka-cassandra-tweet-analysis-sample

0.0 1.0 0.0 14 KB

Tweet analysis app with Kafka and Cassandra

Java 100.00%

accs-kafka-cassandra-tweet-analysis-sample's Introduction

Tweet analysis app with Kafka and Cassandra

Tweet Producer app

  • 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
  • a custom serializer (org.apache.kafka.common.serialization.Serializer) based on the Jackson ObjectMapper and pushes it to a Kafka topic
  • It provides a REST API to start/stop the app on demand e.g. /tweets/producer

Tweet processor service

  • a Kafka consumer app which consumes tweets from a Kafka topic
  • it is modeled as a worker service within Oracle Application Container Cloud — more on this below
  • De-serializes (custom org.apache.kafka.common.serialization.Deserializer) converts tweet data from topic into a POJO, and finally
  • persists this in-memory Java object to a Cassandra table (called hashtags_by_date)

For more info, check out the complete blog

accs-kafka-cassandra-tweet-analysis-sample's People

Watchers

 avatar

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.