• Stars
    star
    341
  • Rank 123,998 (Top 3 %)
  • Language
    Scala
  • Created almost 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Koober

An uber data pipeline sample app. Play Framework, Akka Streams, Kafka, Flink, Spark Streaming, and Cassandra.

Start Kafka:

./sbt kafkaServer/run

Web App:

  1. Obtain an API key from mapbox.com
  2. Start the Play web app: MAPBOX_ACCESS_TOKEN=YOUR-MAPBOX-API-KEY ./sbt webapp/run

Try it out:

  1. Open the driver UI: http://localhost:9000/driver
  2. Open the rider UI: http://localhost:9000/rider
  3. In the Rider UI, click on the map to position the rider
  4. In the Driver UI, click on the rider to initiate a pickup

Start Flink:

  1. ./sbt flinkClient/run
  2. Initiate a few pickups and see the average pickup wait time change (in the stdout console for the Flink process)

Start Cassandra:

./sbt cassandraServer/run

Start the Spark Streaming process:

  1. ./sbt kafkaToCassandra/run
  2. Watch all of the ride data be micro-batched from Kafka to Cassandra

Setup PredictionIO Pipeline:

  1. Setup PIO

  2. Set the PIO Access Key:

     export PIO_ACCESS_KEY=<YOUR PIO ACCESS KEY>
    
  3. Start the PIO Pipeline:

     ./sbt pioClient/run
    

Copy demo data into Kafka or PIO:

For fake data, run:

./sbt "demoData/run <kafka|pio> fake <number of records> <number of months> <number of clusters>"

For New York data, run:

./sbt "demoData/run <kafka|pio> ny <number of months> <sample rate>"

Start the Demand Dashboard

PREDICTIONIO_URL=http://asdf.com MAPBOX_ACCESS_TOKEN=YOUR_MAPBOX_TOKEN ./sbt demandDashboard/run

More Repositories

1

play-rest-security

Java
406
star
2

play-auto-refresh

Scala
212
star
3

JSAMF

An AMF library in JavaScript
JavaScript
173
star
4

salesforce-webhook-creator

Scala
168
star
5

play2torial

159
star
6

happytrails

CSS
106
star
7

play2bars

95
star
8

cloud-run-button

See Other:
Dockerfile
91
star
9

easyracer

Shell
89
star
10

gulp-starter

Shell
65
star
11

github-files

JavaScript
50
star
12

hello-uzhttp

Scala
48
star
13

play2-scheduled-job-demo

Scala
48
star
14

kotlin-bars

Kotlin
46
star
15

play-java-spring

Java
45
star
16

comparing-docker-methods

Java
43
star
17

hello-play-kafka

Scala
42
star
18

quick-force-node

Shell
39
star
19

plays3upload

Example Play! app that uploads files to Amazon S3
HTML
37
star
20

jaxrsbars

Java
35
star
21

play-framework-chrome-tools

JavaScript
30
star
22

pbjas

Pixel Bender Tools for ActionScript
HTML
29
star
23

S3-Blobs-module-for-Play

S3 Blobs module for Play!, based on https://github.com/jamesward/plays3upload
Java
29
star
24

heroku-connect-phone-change

HTML
26
star
25

play-java-jpa

Java
26
star
26

spring_hibernate_hstore_demo

Java
26
star
27

jekyll-heroku

CSS
26
star
28

nks

Kotlin
24
star
29

javadoccentral

Shell
23
star
30

quick-force-java

Java
23
star
31

maven-multi-module-example

Java
23
star
32

play-static-asset-optimizations

Shell
22
star
33

hello-java-spring-force_dot_com

Java
22
star
34

sf-cors-proxy

Scala
21
star
35

echo-webhook

Shell
21
star
36

tweetmap

Shell
21
star
37

hello-kafka-salesforce

Scala
21
star
38

six-minute-apps

Scala
19
star
39

comparing-docker-methods-scala

19
star
40

hello-spring-salesforce

Java
18
star
41

extending_air_for_android

Shell
17
star
42

DataPaging

Example of Data Paging with Flex
JavaScript
17
star
43

kotlin_server_framework_smackdown

Kotlin
14
star
44

gulp-launcher

Gulp Launcher
Shell
14
star
45

play2-cloudfront

Scala
13
star
46

helloblueeyes

Scala
13
star
47

hello-zio-http

Scala
12
star
48

salesforce-rest-starter

Shell
12
star
49

hello-micronaut

Kotlin
12
star
50

warless_java_web_apps

Java
11
star
51

ktor-native-server

Kotlin
10
star
52

kmp-conf-server

Kotlin
10
star
53

hello-java-spring-neo4j

Java
10
star
54

twitter-search-proxy

Scala
10
star
55

P2Pong

P2P Game Example with Flex
ActionScript
10
star
56

easycloudrun

Shell
9
star
57

kotlin-universe-catalog

Kotlin
9
star
58

playbars

Java
9
star
59

flaskbars

Python
9
star
60

P2Hancock

P2P Signature Capture Example with Flex
JavaScript
9
star
61

hello-kotlin-ktor

Kotlin
9
star
62

serverless-kotlin-kafka

Shell
9
star
63

AkkaFun

Java
8
star
64

restlet-template

Java
8
star
65

FlexReplaceState

Example of using the new HTML5 session history APIs with Flex
JavaScript
8
star
66

play-load-tests

Scala
8
star
67

hello-kotlin-wasm

Kotlin
8
star
68

forcewebjars

Scala
8
star
69

zentasks

Java
8
star
70

Styles4Skins

Skin Styles for Flex 4
ActionScript
8
star
71

zio-lang-survey

Scala
8
star
72

containerless-springmvc

Java
8
star
73

kafka-spark-cassandra

Scala
8
star
74

cloudstate-sample-fraud

Kotlin
8
star
75

play2-ebean-uuid

Java
7
star
76

hello-quarkus

Dockerfile
7
star
77

pio-engine-heroku

Scala
7
star
78

metadata-merger

Scala
7
star
79

oop-evolution

Java
7
star
80

play-heroku

Python
7
star
81

hello-springboot

Java
6
star
82

spring-kotlin-postgres

Kotlin
6
star
83

census2

JavaScript
6
star
84

force-gradle-plugin

Groovy
6
star
85

hello-kotlin-native

Kotlin
6
star
86

forcenpm

Scala
6
star
87

play-emailer

Shell
6
star
88

yegni

Scala
6
star
89

nodebars

JavaScript
6
star
90

click-deploy-develop

Shell
6
star
91

playmongo

Java
5
star
92

MobileContacts

Salesforce Contacts on Android using Adobe AIR and Flex
ActionScript
5
star
93

github-license-service

Scala
5
star
94

playsendgrid

Java
5
star
95

hello-java-webapp_runner

Java
5
star
96

nixos-desktop

Nix
5
star
97

zio-kafka-ml

Scala
5
star
98

MiniStockChart

MiniStockChart Android AIR app
ActionScript
5
star
99

hello-hugo

4
star
100

travis-central-test

Shell
4
star