SkillLynk Skill Lynk connect skills with opportunities
Menu
Tech Definitions

What Is Apache Kafka?

Kafka shows up in almost every "scale to millions of events" system design discussion -- here's what it actually is.

What Is Kafka?

Apache Kafka is a distributed event-streaming platform. At its core, producers write records to named topics, Kafka durably stores them in the order they arrived, and consumers read those records independently, at their own pace. Unlike a traditional queue where a message disappears once read, Kafka retains records for a configurable period, so multiple independent consumers can each read the full stream.

How Kafka Differs From a Traditional Message Queue

  • Records persist for a retention window, not just until one consumer reads them
  • Multiple consumer groups can independently re-read the same stream
  • Topics are partitioned, which is what lets Kafka scale to very high throughput
  • Ordering is guaranteed only within a single partition, not across an entire topic
  • It's built for streams of events, not just point-to-point task queues

Common Use Cases

Kafka is typically used to decouple services in an event-driven architecture (an order-service publishes an "order placed" event, and inventory, billing, and notification services each consume it independently), to move large volumes of log or metrics data, and to feed real-time analytics pipelines.

Frequently Asked Questions

Not in the traditional sense -- it's a log-based streaming platform. It does durably store data, and patterns like "event sourcing" do treat a Kafka topic as a source of truth, but it's not built for arbitrary queries the way a relational database is.
Usually not. Kafka adds real operational complexity (a cluster to run and monitor), so it's worth reaching for once you have a genuine need to decouple multiple independent consumers from a high-throughput event stream -- not by default.
A topic is split into partitions so it can be spread across multiple brokers and consumed in parallel. Kafka only guarantees message order within a single partition, which is an important detail when designing what you use as a partition key.

Related Guides

Sign in required

Sign in