Files
Sankofa/docs/marketplace/sovereign-stack/event-bus.md
defiQUG 33d50fb91e
Some checks failed
API CI / API Lint (push) Successful in 47s
API CI / API Type Check (push) Failing after 47s
API CI / API Test (push) Successful in 1m0s
API CI / API Build (push) Failing after 50s
API CI / Build Docker Image (push) Has been skipped
Build Crossplane Provider / build (push) Failing after 5m51s
CD Pipeline / Deploy to Staging (push) Failing after 29s
CI Pipeline / Lint and Type Check (push) Failing after 36s
CI Pipeline / Build (push) Has been skipped
CI Pipeline / Test Backend (push) Failing after 1m33s
CI Pipeline / Test Frontend (push) Failing after 30s
CI Pipeline / Security Scan (push) Failing after 1m16s
Crossplane Provider CI / Go Test (push) Failing after 3m23s
Crossplane Provider CI / Go Lint (push) Failing after 7m27s
Crossplane Provider CI / Go Build (push) Failing after 3m27s
Deploy to Staging / Deploy to Staging (push) Failing after 30s
Portal CI / Portal Lint (push) Failing after 21s
Portal CI / Portal Type Check (push) Failing after 21s
Portal CI / Portal Test (push) Failing after 21s
Portal CI / Portal Build (push) Failing after 22s
Test Suite / frontend-tests (push) Failing after 30s
Test Suite / api-tests (push) Failing after 49s
Test Suite / blockchain-tests (push) Failing after 30s
Type Check / type-check (map[directory:. name:root]) (push) Failing after 23s
Type Check / type-check (map[directory:api name:api]) (push) Failing after 21s
Type Check / type-check (map[directory:portal name:portal]) (push) Failing after 19s
Validate Configuration Files / validate (push) Failing after 1m52s
CD Pipeline / Deploy to Production (push) Has been skipped
chore: consolidate local WIP (repo cleanup 20260707)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:41:34 -07:00

1.6 KiB

Phoenix Event Bus

Category: PLATFORM_SERVICES
Publisher: Phoenix Cloud Services
Status: PUBLISHED
Version: 1.0.0

Overview

Phoenix Event Bus provides durable event streaming with replay, versioning, and consumer idempotency. Implements DB Outbox pattern for atomic state + event writes. Supports Kafka, Redpanda, and NATS backends.

Key Features

  • DB Outbox pattern: Atomic state + event writes
  • Event versioning: Schema evolution support
  • Consumer idempotency: Exactly-once processing
  • Replay support: Replay events from any point
  • Multiple backends: Kafka, Redpanda, NATS
  • Offset tracking: Consumer offset management
  • Correlation ID support: End-to-end request tracking

API Endpoints

Publish Event

POST /events/publish
Content-Type: application/json

{
  "eventType": "user.created",
  "aggregateId": "user_123",
  "payload": {
    "email": "user@example.com"
  },
  "correlationId": "req_456"
}

Consume Events

GET /events/consume?consumerId=consumer_123&eventType=user.created&limit=100

Replay Events

POST /events/replay
Content-Type: application/json

{
  "eventType": "user.created",
  "fromTimestamp": "2024-01-01T00:00:00Z",
  "toTimestamp": "2024-12-31T23:59:59Z"
}

Pricing

  • Model: Subscription-based
  • Base Price: $149/month
  • Per GB Storage: $0.10
  • Per Million Events: $5.00

Compliance

  • SOC 2 Type II

SLA

  • Uptime: 99.95%
  • Latency: <100ms p95

Architecture

  • Database outbox table
  • Background workers for processing
  • Event versioning schema
  • Consumer offset tracking