Skip to content

HSLdevcom/transitdata-metro-ats-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transitdata-metro-ats-parser Test and create Docker image

Description

Application for parsing metro ATS messages from raw JSON messages received from the metro ATS API over MQTT. The data from the raw JSON is combined with static data in Redis (see transitdata-cache-bootstrapper) to add route IDs and other metadata to the message. Messages are read from one Pulsar topic and the output is written to another Pulsar topic.

Building

Dependencies

This project depends on transitdata-common project.

Locally

  • mvn compile
  • mvn package

Docker image

Running

Dependencies

  • Pulsar
  • Redis

Environment variables

  • METRO_ATS_TIMEZONE: timezone used in metro ATS API messages
  • PUBTRANS_TIMEZONE: timezone used in PubTrans
  • ADDED_TRIPS_ENABLED: whether to create messages for those metros that are not found from the static schedule (PubTrans)

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages