Skip to content

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

Notifications You must be signed in to change notification settings

erikbeebe/flink_adsb_stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": ""}

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published