-
tweets-docker-pipeline
Docker pipeline for streaming tweets and their sentiment score to a Slack channel
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
First, I created an app on Twitter and got my credentials (API key and Access Token). Then, I wrote the Python code for streaming live tweets, using tweepy with my Twitter credentials. I chose to stream the hashtag #OnThisDay (thought it would be interesting to get a daily notification of what happened years ago) and collected the tweet text and user handle.
One of the projects in my Data Science Bootcamp was about creating a database of tweets, along with their sentiment score, and post positive tweets in a Slack channel. This pipeline had to be orchestrated with Docker Compose. The pipeline looks like this:
Related posts
-
How to write tests for applications that use MongoDB as a storage
-
Docker Compose: `version` is obsolete
-
Live reload em Go com docker e compile daemon
-
Docker compose, orchestrating and automating services
-
Hosting a simple docker-compose app with Nginx and generate a SSL with certbot on digitalocean droplet