Skip to content

CDC (Change Data Capture) Configuration Page #311

@ElioNeto

Description

@ElioNeto

CDC (Change Data Capture) Configuration Page

Create an Angular page for configuring and monitoring Change Data Capture using the existing CdcConfig and CdcPublisher infrastructure.

Backend Endpoints Needed

GET    /admin/cdc/status          — Current CDC configuration & status
PUT    /admin/cdc/config           — Update CDC config (enabled, endpoint)
GET    /admin/cdc/events          — Recent CDC events (if collector mode)
GET    /admin/cdc/stats           — Events published, failures, throughput

UI Requirements

Status Overview

  • Enabled/Disabled: Toggle switch with confirmation
  • Mode: Collector vs Webhook publisher
  • Endpoint: Display configured webhook URL
  • Connected: Last successful publish timestamp

Configuration

  • Enable/Disable: Toggle
  • Endpoint: Input field for webhook URL
  • Filter: Optional key prefix filter for which events to capture
  • Batch Size: Events per publish batch

Event Log

  • Table: Timestamp, key, operation (put/delete), column family, status
  • Filter: By operation type, date range, key prefix
  • Details: Expandable row with full event payload

Acceptance Criteria

  • CDC status shows enabled/disabled correctly
  • Toggle enable/disable works
  • Endpoint URL can be configured
  • Event log shows recent CDC events
  • Error states for API failures
  • Responsive layout

Parent Epic

#290

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions