Event-based systems, especially one like CloudEvents that strive for interoperability, need to define a single encoding and transport for all producers. This gives the best interoperability for all consumers from any cloud provider or ecosystem.
For instance, say the spec requires JSON and HTTP 1.1/2 (Although some challenges with true push using HTTP) for all producers. Any consumer in any environment could consumer events in a singular fashion.
Note this would not preclude specialized consumers and gateways or multi-headed producers that utilize alternative encodings or transports.
Any provider could produce events in different encodings and transports, but to be compliant they must produce via HTTP and JSON (Or whatever the chosen encoding and transport shall be).
For instance, Google may choose to honor the spec and publish all events via the standard, but also publish the same events in parallel via gRPC and ProtoBufs. These alternatives could be referenced in the spec based on status and use in the broader ecosystem.
Event-based systems, especially one like CloudEvents that strive for interoperability, need to define a single encoding and transport for all producers. This gives the best interoperability for all consumers from any cloud provider or ecosystem.
For instance, say the spec requires JSON and HTTP 1.1/2 (Although some challenges with true push using HTTP) for all producers. Any consumer in any environment could consumer events in a singular fashion.
Note this would not preclude specialized consumers and gateways or multi-headed producers that utilize alternative encodings or transports.
Any provider could produce events in different encodings and transports, but to be compliant they must produce via HTTP and JSON (Or whatever the chosen encoding and transport shall be).
For instance, Google may choose to honor the spec and publish all events via the standard, but also publish the same events in parallel via gRPC and ProtoBufs. These alternatives could be referenced in the spec based on status and use in the broader ecosystem.