Overview & Architecture Pattern
PostgreSQL logical decoding (pgoutput), Debezium Kafka Connect connector, and real-time streaming database WAL changes.
Architecture Pattern: Data Streaming
Primary Use Case: Zero-overhead database replication, real-time search engine sync, cache eviction.
Included Dependencies & Starters
spring-boot-starter-web, data-jpa, postgresql, spring-kafka, debezium-core
Domain Entities & Scaffolding Defaults
ChangeEvent (tableName, operation, beforePayload, afterPayload, capturedAt)
Quickstart: Running Your Project
# 1. Start required infrastructure containers
docker compose up -d
# 2. Run the Spring Boot 3.4 application (Maven)
./mvnw spring-boot:run
# Or run with Gradle
./gradlew bootRun
Frequently Asked Questions
- What starters are included in the PostgreSQL Change Data Capture (CDC) blueprint?
- The PostgreSQL Change Data Capture (CDC) blueprint includes spring-boot-starter-web, data-jpa, postgresql, spring-kafka, debezium-core, pre-configured application.yml properties, and production-ready connection pools.
- How do I run the generated PostgreSQL Change Data Capture (CDC) project locally?
- Extract the downloaded ZIP, start dependencies with 'docker compose up -d', and execute './mvnw spring-boot:run' (Maven) or './gradlew bootRun' (Gradle).
- Can I customize entities and database schemas in this blueprint?
- Yes, SpringForge allows you to visually add or modify JPA entities, field types, validation rules, and relational mappings, or import SQL DDL schemas.