Skip to content

Broker conformance test: data plane #2705

@grantr

Description

@grantr

Problem
We need a conformance test of the Broker data plane specification.

Persona:
Contributor

Exit Criteria
A conformance test that produces a conformant/non-conformant result and can be applied to any Broker implementation.

Time Estimate (optional):
1w

Additional context (optional)

List of tests

At ingress

  • Supports CE 0.3 or CE 1.0 via HTTP
  • Supports structured or Binary mode
  • Respond with 2xx on good CE
  • Respond with 400 on bad CE
  • Reject non-POST requests to publish URI

At consumer

  • No upgrade of version
  • Attributes received should be the same as produced (attributes may be added)
  • Events are filtered
  • Events are delivered to multiple subscribers
  • Deliveries succeed at least once
  • Replies are accepted and delivered
  • Replies that are unsuccessfully forwarded cause initial message to be redelivered (Very difficult to test, can be ignored)

Metrics

  • Trace header on incoming event is preserved for subscribers and propagated to reply events
  • Metrics are supported (Difficult to test, can be ignored)

/area test-and-release
/label proposal/0.14

See also #2704

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions