Giter Club home page Giter Club logo

flink_adsb_stream's Introduction

flink_adsb_stream

Read ADS-B stream from Kafka, parse, window, and make available via Queryable State

This is still a work in progress, but.. This takes a stream of ADS-B JSON events from Kafka, extracts timestamps, enriches the stream (currently by queryable a Redis instance containing the FAA database), continues adding new information to the record as it becomes available, and then emits records every 5 seconds with a current picture of the airspace.

It expects a Kafka topic with data that looks like this:

{"flight": "", "timestamp_verbose": "2017-10-19 17:41:42.616481", "msg_type": "3", "track": "", "timestamp": 1508452902, "altitude": "34250", "counter": 47988, "lon": "-97.36628", "icao": "AA2E7C", "vr": "", "lat": "30.80342", "speed": ""}
{"flight": "", "timestamp_verbose": "2017-10-19 17:41:43.044733", "msg_type": "4", "track": "199", "timestamp": 1508452903, "altitude": "", "counter": 48019, "lon": "", "icao": "AA2E7C", "vr": "-1920", "lat": "", "speed": "454"}
{"flight": "", "timestamp_verbose": "2017-10-19 17:41:42.720467", "msg_type": "8", "track": "", "timestamp": 1508452902, "altitude": "", "counter": 48001, "lon": "", "icao": "AAD32F", "vr": "", "lat": "", "speed": ""}
{"flight": "", "timestamp_verbose": "2017-10-19 17:41:43.045635", "msg_type": "5", "track": "", "timestamp": 1508452903, "altitude": "10775", "counter": 48023, "lon": "", "icao": "AAD32F", "vr": "", "lat": "", "speed": ""}
{"flight": "", "timestamp_verbose": "2017-10-19 17:41:42.719107", "msg_type": "7", "track": "", "timestamp": 1508452902, "altitude": "36975", "counter": 47993, "lon": "", "icao": "0D0A16", "vr": "", "lat": "", "speed": ""}

flink_adsb_stream's People

Contributors

erikbeebe avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.