Skip to main content

Kafka — ภาพรวม

เนื้อหาเขียนตามโครงเดียวกับหมวด Go (Golang) และ Kubernetes: bilingual ต่อหัวข้อ (Thai prose หลัก + ปิดท้ายด้วย English Summary) พร้อมกล่อง "🧠 จำง่ายๆ" และ "🎯 Beyond" ในทุกหัวข้อย่อย ไล่จากพื้นฐานขึ้นไประดับ intermediate

โครงสร้างเนื้อหา​

หัวข้อเนื้อหา
FundamentalsTopic, Partition, Broker, Offset, Replication Factor
Producer & ConsumerPartitioning key, delivery semantics, consumer group
Topic DesignPartition count, retention, log compaction, schema evolution
Reliability & OrderingISR, acks, idempotent producer, transaction, ordering guarantee
Best PracticesConsumer 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).