Kafka Streams คือ library สำหรับ stream processing — การสร้างแอปพลิเคชันที่ประมวลผลและแปลงข้อมูลใน topic ของ Kafka แบบเรียลไทม์ (การ filter, transform, aggregate, join สตรีม) มันทำให้สามารถประมวลผลข้อมูลแบบเรียลไทม์ได้โดยตรงบน Kafka
stream processing คืออะไร
STREAM PROCESSING → process data CONTINUOUSLY as it arrives (in real time), vs batch
(processing stored data periodically):
→ consume events from topics, transform/analyze them, produce results (often to other topics)
→ real-time: react to and process events as they happen (low latency)
→ for: real-time analytics, transformations, monitoring, enrichment, aggregations
