Skip to content
Snippets Groups Projects
Commit 5af9c4c7 authored by Fellner, Sebastian's avatar Fellner, Sebastian
Browse files

Update README

parent e79e9da0
No related branches found
No related tags found
No related merge requests found
# Code samples for Data Stream Processing
## Install dependencies
## Preparation: Install dependencies
```
pip3 -r requirements.txt
```
## Run the Spark application
## Word counts
Start the Spark application:
```sh
python3 wordcount.py
```
python3 average.py
In another terminal session, execute
```sh
touch text-data/data.txt
```
## Feed the example data into the application
## Averages
Start the Spark application:
```sh
python3 average.py
```
In another terminal session, execute
```sh
./send-data.sh
```
## Averages (SQL)
Start the Spark application:
```sh
python3 average-sql.py
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment