Kafka — ภาพรวม
เนื้อหาเขียนตามโครงเดียวกับหมวด Go (Golang) และ Kubernetes: bilingual ต่อหัวข้อ (Thai prose หลัก + ปิดท้ายด้วย English Summary) พร้อมกล่อง "🧠 จำง่ายๆ" และ "🎯 Beyond" ในทุกหัวข้อย่อย ไล่จากพื้นฐานขึ้นไประดับ intermediate
โครงสร้างเนื้อหา
| หัวข้อ | เนื้อหา |
|---|---|
| Fundamentals | Topic, Partition, Broker, Offset, Replication Factor |
| Producer & Consumer | Partitioning key, delivery semantics, consumer group |
| Topic Design | Partition count, retention, log compaction, schema evolution |
| Reliability & Ordering | ISR, acks, idempotent producer, transaction, ordering guarantee |
| Best Practices | Consumer lag monitoring, rebalancing strategy, dead-letter topic |
| Interview Prep | คำถามสัมภาษณ์ที่พบบ่อย พร้อมแนวคำตอบ (ไทย/อังกฤษ) |
| Design Scenarios | ออกแบบระบบ event-driven จริง (order pipeline, analytics, multi-region) |
ใครควรอ่านหมวดนี้
- Engineer ที่ใช้ Kafka เป็น message backbone ของระบบ ต้องการ refresh concept + best practice
- คนที่กำลังเตรียมสัมภาษณ์งานสาย backend/platform engineer ที่ใช้ event-driven architecture
- คนที่ต้องออกแบบ topic/consumer group ของทีม และอยากมี mental model ที่ถูกต้อง
English Summary
This section follows the same bilingual, interview-ready template established in the Go section: fundamentals → producer/consumer → topic design → reliability/ordering → best practices → interview prep → system-design scenarios (this section's "live coding" equivalent).