Skip to content

An application connecting to the twitter api, fetching the latest tweets, and scoring their sentiment in realtime.

Notifications You must be signed in to change notification settings

vbrignatz/tweetostream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Docker

You first need to install docker (see here).

Build and run

To build the app, use

docker compose -f docker/docker-compose.yml up --build

This will build the containers and launch them.

This will launch the kafka, zookeeper and mongodb containers as well as the producer, spark-db-saver and dashboard container.

You can connect to the mongo database on the port 27018. A volume will be set in ./data/mongo for persistent storage

Program

The producer will get the latest tweets with the choosen keyword and put them in the kafka topic twitto. The consumer will get the tweets from kafka, add a score reflecting the sentiment in the text, and store them in MongoDB.

About

An application connecting to the twitter api, fetching the latest tweets, and scoring their sentiment in realtime.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •