Part 1: Fundamentals, Broker, Producer, Consumer
15 sections
Core Concepts
- Kafka: distributed event streaming platform for real-time data pipelines
- Ordering: guaranteed only within partitions, not across topics
- Replication: uses leader replica for writes and followers that replicate
- Safe pattern: replication.factor=3 with min.insync.replicas=2 and producer acks=all
Critical Producer Configs
| Property | Key Info |
|---|---|
| acks | 0=none, 1=leader, all=ISR (durability) |
| enable.idempotence | prevents duplicates, requires acks=all |
| retries | set to MAX_INT, control with delivery.timeout.ms |
Key Topics Covered:
Core ConceptsProducer SettingsConsumer Groups