Event Platform/Intake

From Wikitech
Jump to navigation Jump to search

PLACEHOLDER: document event platform intake requirements


* - initialization of default values
*   - set meta.dt as the ingestion time (current time is fine)
*   - set meta.stream to the proper value (if not set by caller)
*   - $schema as the schema that can validate the generated event (if not set by caller)
*   - set meta.id to a uuid if not set
* - verification of schema vs stream (this requires looking up stream config)
* - validation of the event against its schema