Skip to content

slachiewicz/time-series-demo

 
 

Repository files navigation

Time Series DCOS Demo: Crime Buster!

Overview

In this demo we take the crime dataset from the City of Chicago, turn it into a streaming data source and process the data in two paths:

  • an online path, using a time series database (InfluxDB) and visualize the crime types in Grafana.
  • an offline part, using Spark jobs to create an overlay heat map of aggregated crimes on Google Maps.

Architecture

Usage

First you need to clone this repo:

$ git clone https://github.com/mesosphere/time-series-demo.git && cd time-series-demo/

Then you can set up and launch the components:

  1. Set up Kafka and Spark.
  2. Set up and launch the Crime Data Producer.
  3. Set up InfluxDB and Grafana online path, configure it and launch it.
  4. Set up Kubernetes and the offline reporting Web app and launch it.

We've also recorded a walkthrough of the set up and launch steps as asciicasts:

Part 1 Part 2

You can also check out the overview deployment doc for more details.

Dependencies

To do:

  • Create video walkthrough (Michael H9)
  • Add real timestamps to InfluxDB data (Michael G)

About

A DCOS time series demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 49.4%
  • JavaScript 43.9%
  • HTML 6.1%
  • Shell 0.6%