-
Notifications
You must be signed in to change notification settings - Fork 0
Streaming Engine
Prastut Kumar edited this page Aug 27, 2018
·
1 revision
Things to figure out before starting stream:
- Fixture ID.
- Hashtag(s) for the above particular fixture id.
- URL for sky sports streaming
-
sudo service zookeeper start -
sudo service zookeeper status- Blocking terminal. Count terminal: 1 -
Running Kafka:
-
cd /home/aviraland cd inside kafka folder. - Run
bin/kafka-server-start.sh config/server.properties - Blocking terminal. Count terminal: 2
-
-
Running streaming blackbox.
cd /home/aviral/dev/bubble-process-watson/ -
Stream tweets.
- Command:
python stream_tweets.py - Inputs:
- Fixture ID:
- Hashtags:
- Blocking terminal. Count terminal: 3
- Command:
-
Process tweets:
- Command:
python stream_tweets.py- Inputs:
- Fixture ID:
- Inputs:
- Blocking terminal. Count terminal: 4
- Command:
-
Live trending calculation:
- Command:
python live_trending.py- Inputs:
- Fixture ID:
- Inputs:
- Blocking terminal. Count terminal: 5
- Command:
-
Fetching events from skypsport -> store them inside db:
-
Command:
python live_match_event_scraper.py- Inputs:
- Fixture ID:
- URL: skysports live commentary url.
- Inputs:
-
Blocking terminal. Count terminal: 6
-