Skip to content

ADR-0244: A view is listed by what the system declares ​

  • Status: accepted
  • Date: 2026-12-05
  • Deciders: maintainers
  • Change: openspec/changes/46-kafka-dead-letters-transfer-bulk-tail
  • Amends: ADR-0222 (a system-only view is no longer the only way to be listed)

Context ​

A navigation item for a system-only screen names the system it belongs to, so Dead letters and Transfers were listed for Artemis alone. Kafka now has both, RabbitMQ has neither, and a table of systems in the web code would have to change with every driver.

Decision ​

  • The cluster payload gains views: string[], derived on the server from what the cluster's system declares: dead-letters when it reports dead-letter destinations, transfers when one of its kinds can move or copy messages.
  • A navigation item may name view instead of system. The route's address does not change.
  • Capabilities distinguish unavailable from not applicable: a feature that cannot exist on a system (routing on Kafka) is shown as not applicable with its reason.

Consequences ​

  • A new driver gets the views its declarations earn without a change to the web code.
  • A view is listed by capability, so a system that later gains a verb gains the entry.

Alternatives considered ​

  • Keep a per-system list in the web code. It drifts from the drivers.
  • List every view for every system. Silently empty screens teach the operator nothing.

Apache-2.0. Apache Kafka, Apache ActiveMQ and Apache ActiveMQ Artemis are trademarks of the Apache Software Foundation. RabbitMQ is a trademark of its owner. Rahdar is an independent project, not produced by, endorsed by, or affiliated with the ASF or the owner of RabbitMQ.