Visão Geral
O Curso Kafka for Microservices Architecture ensina como utilizar Apache Kafka como backbone para arquiteturas de microserviços baseadas em eventos, permitindo que aplicações distribuídas se comuniquem de forma assíncrona, escalável e resiliente.
Durante o treinamento, os participantes aprenderão a projetar pipelines de eventos, integrar serviços com Kafka, implementar event-driven patterns e gerenciar mensageria, streams e resiliência.
O curso combina teoria, laboratórios e projetos práticos, preparando os alunos para construir arquiteturas de microserviços robustas com Kafka.
Conteúdo Programatico
Module 1: Introduction to Microservices and Kafka
- Overview of microservices architecture
- Role of Kafka in event-driven microservices
- Key concepts: producers, consumers, topics, and streams
- Benefits and challenges of event-driven microservices
Module 2: Event-Driven Patterns
- Pub-Sub, Event Sourcing, and CQRS patterns
- Saga orchestration and choreography
- Handling consistency and eventual consistency
- Designing resilient event flows
Module 3: Kafka Integration with Microservices
- Implementing producers and consumers in microservices
- Topic partitioning and message keys for scalability
- Serialization and schema management (Avro, JSON, Protobuf)
- Error handling, retries, and dead-letter queues
Module 4: Stream Processing and State Management
- Introduction to Kafka Streams and ksqlDB
- Stateless vs stateful processing
- Aggregations, joins, and windowed operations
- Maintaining application state and fault tolerance
Module 5: Security and Governance
- Securing communication with SSL/TLS and SASL
- Access control and authorization for microservices
- Schema Registry governance and schema evolution
- Best practices for multi-service data governance
Module 6: Deployment and Scalability
- Containerizing microservices with Docker
- Deploying Kafka-enabled microservices in Kubernetes
- Scaling producers and consumers horizontally
- Monitoring pipelines and resource optimization
Module 7: Monitoring, Logging, and Troubleshooting
- Metrics collection and dashboards (Prometheus, Grafana)
- Tracing events across services
- Troubleshooting common issues in microservices Kafka pipelines
- Implementing observability and alerting
Module 8: Hands-On Project
Project: Design and implement a microservices architecture using Kafka, including multiple producers and consumers, event-driven patterns, stream processing, and deployment in Docker/Kubernetes.