ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Decisions
  2. Shared Azure Service Bus namespace as the ION event backbone

Shared Azure Service Bus namespace as the ION event backbone

activereliability
decisionsv3v4active0008service-busevent-backbonechoreographyshared-substratev3-foundational

ADR-0008 — Shared Azure Service Bus namespace as the ION event backbone

Forces / Drivers

  • Requirement / Constraint:
    • ../context/requirements.md#fr-1-incident-ingestion, ../context/requirements.md#fr-2-event-store, ../context/requirements.md#fr-7-auditing-and-replayability — every domain event ADR-0006 appends must fan out to downstream projectors and choreographed subscribers.
    • ../context/requirements.md#nfr-1-scalability, ../context/requirements.md#nfr-4-latency — NFR-1 scale (peak 5×), NFR-4 freshness (incident < 30 s including change-feed + broker fan-out).
    • ../context/requirements.md#nfr-2-reliability — NFR-2 RPO 0, no lost commands, DLQ for poison messages.
    • ../context/constraints.md#tc-2-external-api-rate-limits — TC-2 hard-ceiling APIs: Sentinel write-back ~75 ops / 5 min / subscription; Teams-bot ~8 msg/s per app — both require queue-based throttling with DLQ, not fire-and-forget streaming.
    • ../context/capacity-model.md#derived-processing-load — approximately 208M domain events/month and 400 domain events/s at the sustained 5× peak for the 1,000-customer reference envelope; subscription fan-out and provider-specific notification rates are budgeted separately.
  • Principle(s) embodied: § 4 Event-driven microservices, § 5 No direct service-to-service calls, § 6 Choreography, § 10 Trilateral API, § 14 Independent scalability, § 17 Failure containment, § 21 Azure-native managed services first.
  • WAF pillar optimized: reliability (primary); performance-efficiency, operational-excellence, cost-optimization (secondary).

Context

ADR-0001 chose event-driven microservices; ADR-0003 chose choreography via events on shared brokers; ADR-0005 standardised the wire envelope (CloudEvents JSON); ADR-0006/0007 made Cosmos DB the event store with Change Feed as the transactional outbox. The remaining substrate question is: which broker carries events between the store, producers, and subscribers, and what is its topology?

V2 ran Event Hubs only (inherited from the Voyager event-driven baseline). Event Hubs is a log broker: it has no native DLQ, no per-key sessions with random-access resume, no scheduled delivery, no transactional dedup, no per-subscription filter rules. V2 faked all of these in application code — polling patterns, ad-hoc dedup tables, custom “poison” topics named by convention, per-consumer rate limiting. Three specific pain points made the fakes untenable at V3 scale:

  1. Command handling faked queue semantics. Every command handler implemented ad-hoc dedup (from a side table), ad-hoc DLQ (a second topic named -poison), and ad-hoc per-key ordering (session tokens tracked in application state). Each new producer re-implemented all three slightly differently; the divergence generated incidents.
  2. Rate-limited outbound integrations had no natural home. TC-2’s ceilings (Sentinel ~75 ops / 5 min / subscription; Teams-bot ~8 msg/s per app) require queueing with throttling and DLQ — Event Hubs’ consumption model gave neither. V2’s per-consumer application rate limiting dropped messages under sustained load, requiring manual reconciliation.
  3. Poison-message handling was invisible. Without a broker DLQ, poison messages sat in Event Hubs consumer offsets as gaps or repeated failures, discoverable only via Application Insights logs after the fact.

The initial V3 direction (documented in earlier design notes and reflected in the V3 references ../references/Architecture- Ontinue ION v3.md, ../context/capacity-model.md in earlier revisions) contemplated a dual-broker backbone: keep Event Hubs for streaming, add Service Bus for commands and rate-limited outbound paths. Two things caused the platform to converge instead on Service Bus alone:

  • The “streaming” workload never materialised at a scale that required a dedicated log broker. At the 1000-customer envelope, the sustained ingestion rate is ~5 alerts/sec (peak ~25/sec) and the change-feed broadcast is ~80 events/sec sustained (peak ~400/sec). Both fit comfortably inside Service Bus Premium’s throughput profile with headroom to 10× — the throughput advantage that would justify Event Hubs disappeared once the actual numbers were held against Premium SB’s ceilings.
  • Two brokers means two contracts, two DLQ dashboards, two SDKs, two AsyncAPI surfaces. For a small platform team running ~7 systems, the ongoing operational + contract-discovery cost of two substrates outweighed the marginal throughput headroom on the streaming path. § 21 favours one managed substrate over two whenever the feature gap is not decisive.

A parallel question is topology within Service Bus: one shared namespace across the platform, one per system, or hybrid? V3 chose the shared-namespace posture because it mirrors the pattern the platform already applies to APIM (one shared APIM instance), it collapses AsyncAPI discovery onto one address book, and it eliminates cross-namespace routing complexity. Blast-radius concerns are addressed by per-topic/queue isolation and per-subscription DLQs inside the shared namespace, plus Premium messaging-unit headroom sized for peak.

Event Hubs does not disappear entirely, but its role narrows dramatically — see the “Bounded exception” section below.

Decision

V3 adopts a single shared Azure Service Bus namespace per environment as THE ION event backbone. Every internal ION event — every command, every domain event fan-out from the Cosmos change feed, every workflow trigger, every choreographed cross-system signal — publishes to and subscribes from this one shared namespace. Event Hubs is retired from the internal backbone.

Topology:

  • One Service Bus Premium namespace per environment (apa, bta, gma, prd). All systems (Watchtower, Pigeon, Cogs, Alya, Veritas, Kingsman, ION IQ) publish and subscribe on the same namespace.
  • Per-system, per-domain naming for topics and queues (e.g. watchtower.incident.events, pigeon.notification.commands, cogs.workflow.triggers). Every topic / queue name embeds owning system + domain + role (event vs. command). Convention is enforced in standards/.
  • Per-consumer subscriptions on topics. A consuming system creates its own subscription on the producer’s topic; it owns its subscription’s filters, DLQ, and consumption offset. Producers cannot see who subscribes — matches choreography (ADR-0003).
  • Per-subscription DLQ + alert — no exceptions. maxDeliveryCount = 5, DLQ depth paged, DLQ triage runbook per subscription.

Traffic-shape mapping onto Service Bus primitives:

TrafficSB primitiveKey mechanics
Commands (Update*Command, Create*Command)Queue with sessionssessionId = stream_id for per-aggregate FIFO; messageId = command_id for broker dedup; DLQ on poison; retry with backoff.
Cosmos Change Feed → downstream broadcastTopic per aggregate (e.g. watchtower.incident.events) with subscription per projectorMultiple projectors (reporting, operational, external integration, ION IQ) subscribe independently; each owns its DLQ + offset. Change-feed processor is the publisher — retains change-feed-as-outbox semantics from ADR-0007.
Cross-system domain event choreographyTopic per producing system + domainSubscription filters route to interested consumers.
Sentinel / ServiceNow write-backQueue with throttlingToken-bucket receiver holds outbound rate under TC-2 ceilings; DLQ on max-retry.
Communication Manager → Teams (multi-bot fan-out)Topic + subscription per bot instancePer-tenant sessions for ordering; overflow absorbed on queue depth; multi-bot horizontal scale-out.
Workflow triggers (into Cogs / Temporal)Queue with sessionsPer-aggregate ordering; explicit ack; DLQ.
Low-volume cross-cutting signalsTopicSubscription-per-consumer with filters.

Envelope + partitioning:

  • CloudEvents JSON envelope on every message, per ADR-0005. Native SB metadata (SessionId, MessageId, PartitionKey, CorrelationId) is populated from CloudEvents attributes (subject, id, extension attrs), not carried instead of them.
  • Session ID discipline: commands and workflow triggers use sessionId = <AggregateType>-<AggregateId> for per-stream FIFO. Broadcast topics use partition keys derived from subject for balanced distribution.
  • Duplicate detection window on commands: 20-minute broker-side dedup by messageId = command_id.

Reliability + DR:

  • Zone redundancy enabled on the namespace in every environment. In-region zone-redundant posture matches ADR-0007 Cosmos posture; RTO / RPO story is coherent end-to-end.
  • DR runbook integration — the shared namespace participates in the Event-Store DR runbook: command topic TTL extension during the freeze window, DLQ triage after recovery, replay from change feed after event store PITR. See ../references/Event Sourcing- Event Store Disaster Recovery.md.

Access + security:

  • Managed Identity only (§ 12). SAS + connection strings disabled at the namespace level.
  • Data-plane RBAC — per-topic / per-queue / per-subscription role assignments; the shared namespace does not mean shared access. Publisher/subscriber authorisation is scoped per resource.
  • Private endpoints only — public network access disabled.

Contract discovery:

  • One AsyncAPI catalogue (per ADR-0005) covers the entire backbone. New subscribers discover events from a single spec surface — the biggest developer-experience payoff of the shared-namespace posture.

Bounded exception — Event Hubs at the external integration ingress edge

Event Hubs is not an internal ION broker. It is retained as a sanctioned protocol adapter option, and only there, for the narrow case where an external system natively emits into Event Hubs (or a Kafka-compatible endpoint) and no lower-friction Azure-native alternative exists on the upstream side.

Current and anticipated use cases — Microsoft Graph API change notifications, Microsoft Sentinel Data Connectors’ native push target, MDE / XDR streaming exports, potential future SIEM/EDR partners with Kafka-compatible producers.

Containment constraint (mandatory):

  • Every Event Hubs instance is terminated inside a single ingestion-adapter service (typically owned by Watchtower for security telemetry, or by the appropriate system boundary for other integrations).
  • The adapter (i) validates + de-duplicates the upstream payload, (ii) translates it into a CloudEvents-enveloped ION domain event, (iii) republishes onto the shared Service Bus namespace.
  • No other ION service subscribes to Event Hubs directly. The adapter is the boundary; the downstream ION platform is Service-Bus-only.

Acceptance criteria for adopting an Event Hubs adapter (all three required):

  1. The upstream integration natively emits into Event Hubs (or Kafka), and no Azure-native alternative (e.g. Service Bus Premium ingestion, Graph webhook to Function, direct API pull) is workable at the required rate + reliability.
  2. The adapter is contained to one bounded service that owns the Event Hubs → CloudEvents-on-Service-Bus translation.
  3. The adapter follows the shape codified in the planned pattern doc ../patterns/external-integration-ingress.md (checkpoint handling, DLQ on translation failure, backpressure to upstream where the protocol permits, CloudEvents envelope on republish).

Current status: the historical Event Hubs footprint from V2 is being progressively retired. The remaining instances are legacy paths not yet migrated; a small number will persist as sanctioned adapters under the rule above.

Alternatives considered

  • Option A — Retain Event Hubs alongside Service Bus (dual-broker backbone, per earlier V3 direction). Rejected. The streaming workload never reached a scale that made Event Hubs’ throughput headroom decisive at the 1000-customer envelope; Premium SB carries the load with headroom to 10×. Meanwhile, two brokers imposes an ongoing tax: two DLQ dashboards, two SDKs, two AsyncAPI surfaces, two capacity-planning axes, and every service developer must learn which broker for which case. § 21’s spirit — prefer one managed substrate to two whenever the feature gap is not decisive — tips the choice cleanly to one broker.

  • Option B — Single-broker: Event Hubs only (V2 posture). Rejected. The three specific failure modes documented in Context §Previous V2 — faked command semantics, no queueing for rate-limited outbound, invisible poison messages — are what the V3 platform is trying to leave behind. Retaining Event Hubs as the primary substrate would perpetuate them.

  • Option C — Per-system Service Bus namespaces (one per Alya, Cogs, Kingsman, Pigeon, Veritas, Watchtower, ION IQ). Rejected. Marginal blast-radius isolation gain vs. real costs: (i) cross-system events require cross-namespace routing (managed via topic-forwarding rules or via a mediation service — both add operational surface); (ii) AsyncAPI discovery fragments across N catalogues; (iii) per-namespace capacity budgets create either over-provisioning or noisy-neighbour-across-namespaces coordination overhead; (iv) service-to-service Managed-Identity role assignments multiply. Per-topic and per-subscription isolation inside the shared namespace gives the isolation properties that actually matter, without fragmenting the substrate.

  • Option D — Event Grid as the primary event router. Rejected as the primary backbone. Event Grid’s push-model + consumption-billing is a good fit for sparse cross-tenant lightweight signals (Azure resource events, low-volume webhooks). It is a poor fit for the ION workload shapes: (i) command semantics need pull-based receive-with-lock, not push; (ii) high-volume domain event broadcast pays per-event push cost that pull-based SB consumers do not; (iii) filter semantics and DLQ story are weaker than SB topics. Kept as a future consideration for lightweight cross-cutting signals (e.g. per-customer configuration change notifications) — not the default.

  • Option E — Apache Kafka (Confluent Cloud, or self-hosted). Rejected on § 21 Azure-native managed services first — first-class rejection. Confluent Cloud is a third-party SaaS, not an Azure-native PaaS; self-hosted Kafka is a stateful cluster ION would have to run forever. The feature gap between Service Bus + AsyncAPI + CloudEvents and Confluent (Kafka Streams, ksqlDB, Schema Registry integration) is not large enough to justify the § 21 exception.

  • Option F — Azure Storage Queues as an internal work-queue supplement. Rejected as a platform primitive. No topics/subscriptions, no sessions, no DLQ semantics, no CloudEvents native binding. Individual services may use Storage Queues for internal work distribution inside a service boundary — that scope is unaffected by this ADR.

  • Option G — Redis Streams as a hybrid broker. Rejected. Redis is used in ION as a cache (planned ADR); using it as a durable event bus would confuse its role. No zone-redundant + PITR posture matching NFR-2 without Redis Enterprise — third-party SaaS on § 21 grounds.

Rationale

The shared-Service-Bus posture wins on three axes that matter for a choreographed, event-sourced, small-team platform:

  • One substrate = one contract surface. AsyncAPI (ADR-0005) discovery for the entire platform lives in one place; new subscribers browse one catalogue; envelope-compliance CI runs one gate; Managed-Identity role assignments target one resource. Every “which broker?” onboarding conversation disappears.
  • Feature-fit is complete. Service Bus natively provides everything the ION workload actually needs: per-aggregate FIFO (sessions), broker dedup (messageId), per-subscription DLQ, scheduled delivery, filter subscriptions, transactional receive-then-complete. The V2 workarounds ADR-0006/0007 already dissolved at the store layer are also dissolved at the transport layer — no application code re-implementing DLQ, dedup, or ordering.
  • Operational leverage (§ 21 spirit). One namespace to size, monitor, patch, and DR-drill. One SDK to master. One set of runbooks. The marginal complexity a second broker would have added is paid forever by a small platform team.

Choosing the shared namespace (versus per-system namespaces) trades a marginal blast-radius concern for a large developer-experience and discovery win. The blast-radius concern is real, and it is addressed by:

  • Per-topic / per-queue / per-subscription authorisation — a shared namespace does not mean shared access.
  • Premium tier + messaging-unit headroom sized for peak — noisy-neighbour throughput contention is prevented by capacity, not by fragmenting the substrate.
  • Per-subscription DLQ + alert — a poison-message flood in one subscription does not leak into others’ consumption paths.

Event Hubs’ bounded exception preserves the pragmatic reality that some upstream integrations (Sentinel Data Connectors, Graph API change notifications, MDE streaming) speak Event Hubs / Kafka natively. Rather than forcing every future integration to poll upstream APIs — which reintroduces the TC-2 rate-limit problems ION works hard to avoid — the platform documents Event Hubs as a protocol adapter option, terminated inside one bounded ingestion service, not as an internal backbone. This keeps the platform’s contract surface single while acknowledging that ION does not control upstream emission protocols.

Consequences

Positive

  • One AsyncAPI catalogue — every event across the platform discoverable from a single spec surface. Onboarding new subscribers reduces to “read the catalogue”.
  • One SDK, one set of primitives — every service developer learns one broker, one dedup semantic, one DLQ pattern, one session model.
  • DLQ + dedup + sessions are broker features, not application code. All three V2 workarounds retire cleanly. Poison messages surface as first-class metrics.
  • Change-feed-as-outbox binds cleanly to topics + subscriptions. ADR-0007’s transactional-outbox story continues to hold — change-feed processor publishes to a per-aggregate topic, and every projector subscribes independently.
  • One namespace to size, monitor, and DR-drill. Capacity planning is one budget line per environment; DR runbook targets one namespace; observability dashboards do not fragment across substrates.
  • § 21 respected end-to-end. Service Bus is Azure PaaS; the retained Event Hubs adapters are also Azure PaaS; no self-hosted stateful cluster in the backbone.
  • Contract-first choreography — one namespace + one AsyncAPI catalogue is the transport realisation of ADR-0003 choreography and § 10 Trilateral API.

Negative

  • Shared throughput ceiling. Namespace MU (messaging-unit) budget is shared across all systems. Requires Premium tier with explicit MU headroom sized for peak; noisy-neighbour effects are prevented by capacity, not by physical isolation. Requires ongoing MU-utilisation monitoring per topic + per subscription and periodic budget review.
  • Namespace-level blast radius. A namespace-wide outage (Azure incident, misconfiguration, capacity exhaustion) impacts every system simultaneously. Mitigated by zone redundancy + DR runbook, but the exposure is real. Documented as a live risk in the reliability posture.
  • Naming discipline is load-bearing. With one namespace, topic/queue/subscription names are the isolation boundary and are the discovery surface. Convention drift (inconsistent naming) fragments discovery; convention enforcement in CI is a hard prerequisite (standards/).
  • RBAC configuration surface grows. Every service that publishes or subscribes gets a per-topic / per-queue Managed-Identity role assignment. Requires IaC discipline (Runway) so the assignments are declarative + reviewable, not portal-clicked.
  • Event Hubs adapter discipline required. The bounded exception only works if every adapter follows the containment constraint. A leak (an ION service subscribing directly to Event Hubs) would silently re-fragment the backbone. Enforced by review + by the planned pattern doc + by the fact that Managed-Identity access to Event Hubs is granted only to sanctioned adapter service principals.
  • Ordering across brokers not guaranteed. Where an Event Hubs adapter and internal Service Bus paths both touch the same aggregate, ordering must be reconstructed from stream sequence numbers, not assumed from arrival order.

Neutral / follow-ups

  • Shared publisher SDK. Encapsulates: envelope (CloudEvents) → SB message (native metadata population), session/dedup discipline, topic/queue naming validation. Prevents per-service reinvention and enforces the naming standard at compile time.
  • ../patterns/external-integration-ingress.md (planned). The Event Hubs adapter pattern: checkpoint handling, DLQ on translation failure, backpressure to upstream where the protocol permits, CloudEvents envelope on republish.
  • Topic/queue and type naming standard codified in standards/ — the dotted <platform>.<type>.<aggregateroot>.<name>.<version> convention (ADR-0005), enforced at CI.
  • Per-subscription DLQ runbook — codified under well-architected/reliability/.
  • MU / capacity budget standard — MU allocation per topic tier (hot, warm, cold), per-environment MU headroom sizing, alerting thresholds, in well-architected/cost-optimization/ + well-architected/performance-efficiency/.
  • ../patterns/service-bus-throttling.md (planned) — the token-bucket throttling pattern in front of every rate-limited outbound path (Teams, Sentinel, ServiceNow).
  • Envelope CI gate — extend the ADR-0005 AsyncAPI validation to check every publish call binds CloudEvents onto SB native metadata correctly.
  • Event Hubs retirement backlog — the historical footprint is progressively migrated to Service Bus adapters or sanctioned under the bounded-exception rule; a running inventory is maintained in DISCREPANCIES.md until fully resolved.

WAF Pillar Impact

  • Primary pillar: reliability — DLQ on every subscription, sessions for per-aggregate FIFO, broker-native dedup, zone-redundant + in-region DR posture, no application-level DLQ/dedup fakes to fail.
  • Secondary pillars:
    • performance-efficiency — one substrate sized once with autoscale MU + Premium tier; per-topic partitioning; no cross-broker routing.
    • operational-excellence — one namespace, one SDK, one AsyncAPI catalogue, one DLQ dashboard, one capacity budget; onboarding + on-call surface minimised.
    • cost-optimization — no dual-broker compound floor; Premium SB scales down in non-prd; the ongoing developer-time + workaround-maintenance cost of the V2 posture eliminated.
  • Trade-offs:
    • Sacrifices physical per-system isolation for shared-substrate operational leverage. Isolation properties preserved via per-topic RBAC + per-subscription DLQ + MU headroom.
    • Sacrifices dedicated log-broker throughput headroom (Event Hubs’ natural strength) for one-substrate simplicity. Justified because the ION streaming envelope fits Premium SB with headroom to 10×.
    • Requires ongoing enforcement of the naming standard and the Event Hubs bounded-exception rule. Without discipline both leak — naming drift fragments discovery; direct-EH subscription re-fragments the backbone.
    • Namespace-level outage exposure vs. per-system-namespace outage exposure — accepted, mitigated by zone redundancy + DR runbook.

Previous approach (V2)

V2 used Event Hubs only (from the Voyager event-driven baseline). The V2 architecture merged Voyager’s event-driven backbone with Tiberium’s LCNC integration surface; the LCNC side used Logic Apps’ native HTTP triggers rather than a broker, so the choice of a single broker never came under pressure at V2’s scale.

V3’s original direction contemplated a dual-broker backbone (Event Hubs for streaming + Service Bus for commands and rate-limited paths — reflected in earlier revisions of ../references/Architecture- Ontinue ION v3.md, ../context/capacity-model.md, and ../ARCHITECTURE-OVERVIEW.md). The platform converged instead on Service Bus alone because the streaming workload envelope was smaller than initial planning assumed, and because the two-broker operational + contract-surface cost outweighed the marginal throughput advantage on Premium SB.

The three concrete V2 pain points documented in Context — faked command semantics, no queueing for rate-limited outbound, invisible poison messages — are all discharged by Service Bus native features: sessions replace application-level ordering; messageId dedup replaces application-level side-table dedup; per-subscription DLQ replaces convention-named -poison topics; scheduled delivery + maxDeliveryCount replace application-level retry loops.

The historical Event Hubs footprint from V2 is being progressively retired. Remaining instances fall into two categories: (i) legacy paths not yet migrated, tracked as a live backlog; (ii) sanctioned adapters at the external-integration ingress edge, contained per the bounded-exception rule in the Decision section. No new Event Hubs instances are added except under the bounded-exception acceptance criteria.

References

  • ../references/Event Sourcing- Design.md — command handler → Message Bus (Service Bus) → event store → change feed → downstream pipeline.
  • ../references/Event Sourcing- Event Store Disaster Recovery.md — DR runbook including command-topic TTL extension and Service Bus zone-redundant requirement.
  • ../references/Incident Bounded Context- Design.md — Service Bus command-bus design for the Incident aggregate.
  • ../references/Design Pattern- Dead Letter Queue (DLQ).md — DLQ discipline for Service Bus.
  • ../references/Design Pattern- Notifications.md — Teams notification back-pressure design.
  • ../references/Design Pattern- Idempotent Write.md — command idempotency via broker dedup + application discipline.
  • ../references/Architecture- Service Limits.md — Service Bus MU limits, per-namespace ceilings, Event Hubs TU/PU (for adapter sizing).
  • ../context/capacity-model.md#derived-processing-load — derived load that shapes namespace sizing.
  • External: Azure Service Bus — service overview.
  • External: Service Bus sessions, duplicate detection, dead-letter queues, Premium tier + messaging units.
  • External: Event Hubs vs. Service Bus vs. Event Grid comparison — for the bounded-exception rationale.

Related ADRs

  • Depends on:
    • ADR-0001 — the architecture style that requires a shared broker.
    • ADR-0003 — choreography via subscriptions; this ADR chooses the subscription substrate.
    • ADR-0005 — CloudEvents envelope + AsyncAPI catalogue span the one shared namespace.
    • ADR-0007 — Cosmos Change Feed → Service Bus topic per aggregate is the change-feed-as-outbox binding.
  • Enables:
    • Pending: Service Bus throttling pattern (dedicated pattern doc).
    • Pending: External integration ingress pattern (the bounded-exception adapter shape).
    • Pending: DR posture ADR (namespace participation in the DR runbook).
    • Pending: Communication Manager / Pigeon multi-bot fan-out design.
  • Related:
    • ADR-0002 — per-topic naming preserves per-system logical boundaries inside the shared namespace.
    • ADR-0004 — ECST-shaped events fit within SB per-message limits (Premium: 100 MB; Standard: 256 KB — ION events are ~2 KB).
    • ADR-0006 — command bus semantics motivate the Service Bus feature set.

On this page

  • Forces / Drivers
  • Context
  • Decision
  • Bounded exception — Event Hubs at the external integration ingress edge
  • Alternatives considered
  • Rationale
  • Consequences
  • WAF Pillar Impact
  • Previous approach (V2)
  • References
  • Related ADRs
PreviousAzure Cosmos DB (NoSQL API) as the event store technology
NextMicrosoft Entra ID as the identity provider for the ION Platform
Edit on GitHubSecurity