Skip to content

Streaming Data With Apache Kafka

For people

An introduction to Kafka's concepts — topics, partitions, producers and consumers — and when event streaming fits.

Editorial team 1 min read

Share X LinkedIn Reddit Bluesky Email

Apache Kafka is a widely used platform for streaming events between systems.

Core Concepts

  • Event: a record of something that happened — an order placed, a sensor reading.
  • Topic: a named stream of events.
  • Partition: topics are split into partitions for parallelism; order is guaranteed within a partition.
  • Producer: writes events.
  • Consumer: reads events; consumer groups share partitions to scale.
  • Retention: events are stored for a configured period, so consumers can replay them.

Uses

  • Real-time analytics and dashboards.
  • Feeding data warehouses and lakes.
  • Event-driven microservices.
  • Change data capture from databases.
  • Real-time features for machine learning.

Considerations

  • Operational complexity; managed services reduce it.
  • Schema management with registries to prevent breaking changes.
  • Delivery guarantees: at-least-once is common, so consumers should handle duplicates.

When Not to Use It

If data is only needed daily, batch processing is simpler and cheaper.

More in Data engineering

All Data engineering guides →
Data engineering Guide · 2 min

What Is Data Engineering?

What data engineers do, how data flows from source systems to analysis and AI, and the core skills involved.

Data engineering 2 min read 28 Jan 2026 For people

Data engineering Guide · 2 min

ETL Versus ELT

The difference between transforming data before loading and after, and why modern warehouses shifted the default to ELT.

Data engineering 2 min read 27 Jan 2026 For people

Data engineering Guide · 1 min

Data Warehouses, Data Lakes and Lakehouses

The three main architectures for analytical data storage, what each is good for and how they are converging.

Data engineering 1 min read 26 Jan 2026 For people

Data engineering Guide · 2 min

Data Modelling for Analytics

Star schemas, facts and dimensions: how to design tables that make analysis fast, consistent and easy to understand.

Data engineering 2 min read 25 Jan 2026 For people

Discussion 0

Use @handle to bring somebody in, and #tag to file it.

Nothing here yet. Ask a question, or say how you used it.

Sign in to join the discussion. Sign in