Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Support non-HTTP protocols for GTFS-realtime feeds #317

Open
barbeau opened this issue Dec 7, 2017 · 0 comments
Open

Support non-HTTP protocols for GTFS-realtime feeds #317

barbeau opened this issue Dec 7, 2017 · 0 comments
Milestone

Comments

@barbeau
Copy link
Member

barbeau commented Dec 7, 2017

Summary:

While most existing GTFS-realtime feeds using Protocol Buffers over HTTP to communicate, strictly-speaking feeds could be implemented using other transport methods.

An example of an alternate transport method is a MQTT-based exchange, as discussed here in a pull request for the OpenTripPlanner project:
opentripplanner/OpenTripPlanner#2516

I'd like to abstract our feed ingestion code a bit to allow for non-HTTP transport as well. An example of MQTT-consumer code is in the above OTP pull request.

Related to #311, which is specifically for the file:/// resource.

EDIT - Based on this comment I changed the above and below to clarify that MQTT as used in above link is just the transport method (pub/sub), not the message encoding (which is still protocol buffer).

Alternate message encodings (e.g., JSON) could be supported as well.

Steps to reproduce:

  1. Try to consume a non-HTTP GTFS-realtime feed

Expected behavior:

Consume and validate the feed if the non-HTTP method is supported.

Observed behavior:

Consuming any feeds not served over HTTP feeds fails

Platform:

N/A

@barbeau barbeau added this to the v1.1 milestone Dec 7, 2017
@barbeau barbeau changed the title Support non-protobuf GTFS-realtime feeds Support non-HTTP protocols for GTFS-realtime feeds Dec 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant