talira

Apache Kafka

An open-source distributed event streaming platform

open sourceApache-2.0self-hostablefree

Apache Kafka is a distributed event streaming platform: producers write streams of events to topics stored durably across a cluster of brokers, and consumers read them in order, as fast as the network allows. It scales to a thousand brokers and trillions of messages a day, replicates across availability zones, and comes with Kafka Connect for moving data in and out of databases, S3, Elasticsearch and hundreds of other systems, and Kafka Streams for stream processing with exactly-once semantics. It runs on Java 17 or later, or from the official JVM or GraalVM native Docker images, and is an Apache Software Foundation project under the Apache License 2.0.

Problems it solves

  • move events between dozens of services without every one calling every other directly
  • I need a durable log of events that several consumers can replay from any point
  • stream database changes into a warehouse and a search index at the same time
  • handle millions of messages per second with low latency across a cluster
  • build real-time data pipelines that don't lose messages when a server dies
  • process a stream of events with joins and aggregations as they arrive
  • decouple producers and consumers so a slow consumer doesn't back up the producers
  • keep event ordering guarantees per key while scaling consumers horizontally
  • replicate a message stream across data centres or cloud regions
  • collect logs and metrics from many hosts into one pipeline

Features

  • durable, replicated topics partitioned across a cluster of brokers
  • latencies as low as 2 ms at network-limited throughput
  • scales to a thousand brokers, trillions of messages a day and petabytes of data
  • Kafka Connect: connectors to hundreds of sources and sinks such as Postgres, JMS, Elasticsearch and S3
  • Kafka Streams library: joins, aggregations and transformations with event-time and exactly-once processing
  • stretch clusters across availability zones or connect clusters across regions
  • official JVM and GraalVM native Docker images
  • client libraries for producing and consuming

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known
Has official SDKsplan not known

What people say

  • The project says more than 80% of Fortune 100 companies use Kafka. source

Alternatives

The same job

These do what Apache Kafka does.

  1. Amazon Kinesis Data Streams Serverless real-time data streaming on AWS
  2. Apache Pulsar Cloud-native, distributed messaging and streaming
  3. RabbitMQ One broker to queue them all
  4. Google Cloud Pub/Sub Google Cloud's managed messaging and event ingestion service
  5. Confluent Cloud Fully managed, cloud-native Apache Kafka service
  6. Azure Event Hubs Fully managed, real-time event streaming and data ingestion on Azure

Compare Apache Kafka with the top 3