In this demo we will tap into Twitter Streaming API, get live data into a Kafka cluster through a simple python backend API. The tweets ingested into Kafka are then stored on a MongoDB. For resiliency and persistency both Kafka cluster and MongoDB consumes block storage from
3. Twitter Streaming and Sentiment Analysis App :
Undercover
Red Hat OpenShift Container Storage
4. OCS Persistent Storage across Applications
PV PV PV PV PV PV
Distributed Messaging Service
PV
Database Service
PV PV
Kafka Cluster ZooKeeper Cluster Monitoring
5. 5
App Deployment Steps
● Prerequisite Check
● Deploying Distributed Messaging Service (Kafka) on OCS
● Deploying Database Service (MongoDB) on OCS
● Deploying Backend API Service (Python) on OCP
● Deploying Frontend Service (HTML/JS) on OCP
● Playing with Twitter Keywords