ProficientNowTechRFCs

12. Event Streaming

RFC-DEVELOPER-PLATFORM-0001                                      Section 12
Category: Standards Track                               Event Streaming

12. Event Streaming

← Tool Library | Index | Next: Platform Integrations →


12.1 Kafka Topic Management

12.1.1 Overview

The portal provides self-service management of Kafka topics, enabling developers to create and manage event streaming infrastructure.

CapabilityDescription
Create topicsSelf-service topic creation
View topicsList team-owned topics
Modify topicsUpdate retention, partitions
View metricsConsumer lag, throughput

12.1.2 Topic Creation Workflow

12.1.3 Topic Parameters

ParameterDescriptionDefault
NameTopic name (with prefix)Required
PartitionsNumber of partitions3
Replication factorReplica count3
RetentionMessage retention7 days
Cleanup policydelete or compactdelete

12.1.4 Topic Operations

OperationSelf-ServiceNotes
CreateFullWithin namespace
ViewFullOwned topics
Add partitionsFullAppend only
Modify retentionFullWithin limits
DeleteApprovalConfirmation required

12.2 Schema Registry Integration

12.2.1 Overview

The portal integrates with Apicurio Registry for schema management. Per Invariant 12, schema changes MUST pass compatibility validation.

CapabilityDescription
Register schemasUpload new schema versions
View schemasBrowse schema artifacts
Validate compatibilityCheck against existing schemas
View historySchema version history

12.2.2 Supported Formats

FormatDescription
AvroApache Avro schemas
JSON SchemaJSON Schema definitions
ProtobufProtocol Buffers
CloudEventsCloudEvents JSON schema

12.2.3 Compatibility Modes

ModeDescription
BACKWARDNew schema can read old data
FORWARDOld schema can read new data
FULLBoth backward and forward
NONENo compatibility check

12.2.4 Schema Workflow

12.2.5 Compatibility Enforcement

Per Invariant 12:

ScenarioOutcome
Compatible changeRegistered automatically
Incompatible changeRejected by default
Override requestRequires approval

12.3 Connector Management

12.3.1 Overview

Kafka Connect connectors enable integration with external systems. The portal provides visibility and limited management of connectors.

CapabilitySelf-Service Level
View connectorsFull
View statusFull
Pause/ResumeFull (owned)
Create connectorApproval
Delete connectorApproval

12.3.2 Connector Types

TypeDirectionExamples
SourceExternal → KafkaDebezium, JDBC Source
SinkKafka → ExternalElasticsearch, S3

12.3.3 Connector Status

StatusDescription
RunningConnector operational
PausedConnector paused
FailedConnector in error state
UnassignedConnector not scheduled

12.3.4 Connector Operations

OperationSelf-ServiceNotes
View statusFullAll visible connectors
View tasksFullTask-level status
PauseFullOwned connectors
ResumeFullOwned connectors
Restart taskFullOwned connectors
Update configApprovalConfiguration changes
DeleteApprovalRequires approval

12.4 CDC Pipeline Workflows

12.4.1 Overview

Change Data Capture (CDC) pipelines capture database changes and stream them to Kafka. The portal provides workflows for common CDC scenarios.

CapabilityDescription
CDC setupConfigure Debezium source
View pipelinesList CDC pipelines
Monitor lagReplication lag visibility

12.4.2 CDC Setup Workflow

StepAction
Select databaseChoose source database from catalog
Configure captureTables, columns to capture
Generate connectorCreate Debezium connector config
ApprovalSecurity review for data access
DeployGitOps deployment
MonitorLag and throughput monitoring

12.4.3 CDC Components

ComponentPurpose
Debezium connectorCaptures database changes
Kafka topicStores change events
SchemaAvro schema for changes
ConsumerDownstream processor

12.5 Event Streaming Catalog

12.5.1 Resource Entities

Event streaming resources appear in the catalog:

Entity TypeDescription
Kafka topicTopic resource
SchemaSchema artifact
ConnectorKafka Connect connector
CDC pipelineDebezium pipeline

12.5.2 Entity Relationships

12.5.3 Entity Metadata

MetadataPurpose
OwnerResponsible team
ClusterKafka cluster
Environmentdev, staging, prod
SchemaAssociated schema

12.6 Event Streaming Monitoring

12.6.1 Metrics

MetricDescription
Consumer lagMessages behind
ThroughputMessages per second
Partition distributionMessage distribution
Connector tasksTask status

12.6.2 Monitoring Integration

IntegrationPurpose
Grafana dashboardsTopic metrics visualization
Kafka UI linkDetailed topic inspection
AlertingConsumer lag alerts

Document Navigation


End of Section 12 — RFC-DEVELOPER-PLATFORM-0001