Architecture
The package is structured following the same structure as CloudEvents spec in the following modules:
eventsimplements the baseCloudEventmodel, required fields and canonical data types serialization.formatsimplements the logic for serialization and deserialization between theCloudEventmodel and formats (JSON, AVRO, etc.). These are not usually used directly.bindingsimplements the logic for serialization and deserialization between theCloudEventmodel and protocol bindings (HTTP, KAFKA, etc.). It reuses functions fromformatswhen necessary (i.e. HTTP in structured JSON mode will use the already implemented JSON format)