jdavies / airport-demo

Simple demonstration of using Astra Streaming with the Astra DB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Airport Demo

Demo of monitoring an airports airspace. All planes, gates, baggage carts, tractors, yellow gear, fuel trucks, etc.

Monitor the topic

Using the Pulsar CLI, you can monitor the messages going to a topic. This is very habdy for debugging. Once you have the pulsar CLI installed, perform these steps:

  1. First, from the Connect tab of the steaming tenenat, download the client.conf file and store it in your pulsar CLI conf/ folder.

  2. Next, execute the following command:

    bin/pulsar-client consume persistent://airport-events/airport/test-table -s mytest -p Earliest -st auto_consume -n 10

Changes from the Original Blog Entry

As this is a living project, it will undergo changes overtime. I have just made changes to both of the table definitions, changing the name field to equipment_id and the type field to equipment_type. Please make a note of it.

Architecture

The demo consists of three main parts:

  1. Skyview: This is a Pulsar instance that emulates the FAA events that are sent to each airport.
  2. Database: This acts as a pulsar data-sink to record all events
  3. client_app: NOT FUNCTIONING - This is a web application that is used to visualize the locations of all of the objects in the airspace. Later I would like to expand it to include windows that emulate the gate monitors.

In addition to these main parts will be a variety of tools that allow the demo presenter to create actions and influence the data flowing through pulsar. This will allow for things like gate changes for a flight, real-time baggage tracking on a customer application, etc.

Planned Demo Scenarios

  1. Watch the traffic: Be able to just watch all of the movemoent in an airport from an overhead view,allowing the viewer in zoom in and click on moving items to examine their details.
  2. Modify a flights gate: Send the plane to a new gate and have the gate monitors and gate chane events fire off automatically.
  3. Real Time Baggage Tracking: Allow a customer to see where their bag is (ie still in the plane, on the bagggage cart, getting loaded onto the conveyor belt or on the conveyer belt)

About

Simple demonstration of using Astra Streaming with the Astra DB

License:GNU General Public License v2.0


Languages

Language:Java 51.2%Language:Dart 30.6%Language:HTML 12.0%Language:Ruby 4.4%Language:Swift 1.3%Language:Kotlin 0.4%Language:Objective-C 0.1%