-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Is your feature request related to a problem? Please describe.
Currently the CDS Events API defines a query-able API to search for events that have occurred. Since this API is defined as a GET request, consumers of the API will need to parse through the data and compare the event's event_id to those already ingested and deduplicate any events that have already been received.
With a high volume of events occurring at the curb within a city, this could become a computationally intensive process to iterate through the array of events and identify which events are the new events that need to be ingested.
Describe the solution you'd like
A method to receive the data defined in our events as a "push" where the source system that creates the event can initiate the integration and send the data to a receiving API endpoint. Events could still be provided in batches to support any preprocessing of data.
Is this a breaking change
This would not be a breaking change since it is a net-new addition to the specification.
Impacted Spec
For which spec is this feature being requested?
Events
Describe alternatives you've considered
I believe the only alternative is the existing API endpoint, events that provides a method to query the data as a consuming system. In my experience, this can be difficult to scale as consuming applications will consistently want the latest data and decreasing the time between queries will increase the load placed on the source system.