Visão Geral
Este curso apresenta, de forma prática e avançada, como projetar, construir e operar microservices orientados a eventos utilizando Apache Kafka e Debezium (CDC). Você aprenderá a criar sistemas reativos, desacoplados e altamente escaláveis que respondem a mudanças em bancos de dados e eventos de negócio em tempo real.
Conteúdo Programatico
Module 1 — Foundations of Event-Driven Microservices
- Event-driven architecture principles
- Commands, events, and state transfer
- Benefits and pitfalls of event-driven systems
Module 2 — Kafka as the Event Backbone
- Topics, partitions, and replication
- Kafka producers and consumers refresher
- Designing event schemas and contracts
Module 3 — Introduction to Debezium CDC
- What is CDC and why it matters
- Debezium connectors overview
- Understanding transaction logs and event generation
Module 4 — Setting Up Kafka + Debezium with Docker
- Deploying Kafka, Zookeeper, Connect, and Debezium
- Configuring connectors for MySQL/PostgreSQL/MongoDB
- Observing CDC events in real time
Module 5 — Microservices Integration Patterns
- Event sourcing vs CDC
- Outbox pattern
- Saga pattern and orchestration vs choreography
- Idempotency and deduplication strategies
Module 6 — Consuming Debezium Events in Microservices
- Building consumers in Java/Node/Go
- Handling snapshots, schema changes, and tombstones
- Mapping CDC events to domain events
Module 7 — Designing Event-Driven Boundaries
- Decoupling microservices with topics
- Aggregates, entities, and domain modeling with events
- Choosing topic granularity
Module 8 — Stream Processing for Microservices
- Using Kafka Streams or Flink for data enrichment
- State stores and materialized views
- Real-time queries for microservices
Module 9 — Ensuring Reliability & Resilience
- Error handling and DLQs
- Retry strategies and circuit breakers
- Recovering from consumer failures
Module 10 — Observability & Monitoring
- Metrics for Kafka/Connect/Debezium
- Distributed tracing with OpenTelemetry
- Logging & auditing of events
Module 11 — Security & Governance
- Securing Kafka topics and connectors
- Managing credentials and secrets
- Schema Registry and compatibility rules
Module 12 — Deploying Event-Driven Microservices
- Docker Compose, K8s Deployments, and Helm
- Rolling updates and connector versioning
- CI/CD for microservices + connectors
Module 13 — Real-World Use Cases
- Data replication pipelines
- Cross-service communication via events
- Real-time synchronization across microservices
Module 14 — Capstone Project
- Full CDC-driven microservices solution
- Debezium → Kafka → Consumers + Stream Processing
- Materialized view + API exposure
- Final production-ready deployment