Slides available here.
- Checkout the data
- Setup working environment
- clone the repo
- tasks
- Consume events using Sarama
- Track and view state of taxis
- alert on license fraud
- detect fraud
- extras (testing, monitoring, visualization of coordinate-cells)
- Golang https://golang.org/dl/
- Docker/Git
- Mac:
brew install git
brew cask install docker
open /Applications/Docker.app
- Linux:
sudo apt-get install docker git
- Setup a Gopath (if you don't have it yet)
mkdir -p $HOME/gocode/
cd $HOME/gocode
export GOPATH=$HOME/gocode
- Get the Workshop Code
# need to have $GOPATH set
mkdir -p $GOPATH/src/github.com/frairon/goka-godays2019
git clone https://github.com/frairon/goka-godays2019.git
# OR
go get github.com/frairon/goka-godays2019
- Get the workshop data
# tiny data set is located in testdata/taxidata_tiny.csv
# 100k dataset can be loaded from https://storage.googleapis.com/lv-goka-godays2019/taxidata_100k.csv
make get-100
# [Optional]
# full dataset (~320MB) can be downloaded from https://storage.googleapis.com/lv-goka-godays2019/taxidata_complete.csv
make get-complete
- Start Kafka locally
make restart-kafka