Skip to main content

Module protocol

Module protocol 

Source
Expand description

JSON-lines protocol shared by the conformance harness and SDK adapters.

Structs§

AdapterError
Error body returned by adapters.
CloudEvent
Minimal CloudEvents v1 binary-mode payload.
Filter
Structured subscription filter.
Header
Binary record header.
Message
Message response body.
QueueAckEntry
Queue acknowledgement entry.
QueueRenewEntry
Queue renew entry.

Enums§

Command
A command sent from the conformance harness to a language adapter.
ErrorKind
Wire error taxonomy shared across language SDKs.
FilterOp
Supported filter operation.
QueueAckType
Queue acknowledgement type.
Response
A response sent by an adapter for a single Command.

Constants§

CONTRACT_MAJOR
Major version for the v1 SDK conformance contract.
CONTRACT_MINOR_QUEUE_RPC
Minor version for adapters that implement queue RPC shapes.
CONTRACT_MINOR_V1_0
Minor version for adapters that only implement the original v1.0 contract.