<
- 1. Getting Started
- 2. APIs
- 3. Configuration
- 4. Design
- 5. Implementation
- 6. Operations
- 6.1 Basic Kafka Operations
- 6.2 Datacenters
- 6.3 Geo-Replication (Cross-Cluster Data Mirroring)
- Geo-Replication Overview
- What Are Replication Flows
- Configuring Geo-Replication
- Starting Geo-Replication
- Stopping Geo-Replication
- Applying Configuration Changes
- Monitoring Geo-Replication
- 6.4 Multi-Tenancy
- Multi-Tenancy Overview
- Creating User Spaces (Namespaces)
- Configuring Topics
- Securing Clusters and Topics
- Isolating Tenants
- Monitoring and Metering
- Multi-Tenancy and Geo-Replication
- Further considerations
- 6.5 Important Configs
- 6.6 Java Version
- 6.7 Hardware and OS
- 6.8 Monitoring
- 6.9 ZooKeeper
- 7. Security
- 7.1 Security Overview
- 7.2 Encryption and Authentication using SSL
- 7.3 Authentication using SASL
- 7.4 Authorization and ACLs
- 7.5 Incorporating Security Features in a Running Cluster
- 7.6 ZooKeeper Authentication
- New Clusters
- Migrating Clusters
- Migrating the ZooKeeper Ensemble
- ZooKeeper Quorum Mutual TLS Authentication
- 7.7 ZooKeeper Encryption
- 8. Kafka Connect
- 9. Kafka Streams
You're viewing documentation for an older version of Kafka - check out our current documentation here.
Documentation
Kafka 2.8 Documentation
Prior releases: 0.7.x, 0.8.0, 0.8.1.X, 0.8.2.X, 0.9.0.X, 0.10.0.X, 0.10.1.X, 0.10.2.X, 0.11.0.X, 1.0.X, 1.1.X, 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, 2.5.X, 2.6.X, 2.7.X.1. Getting Started
1.1 Introduction
1.2 Use Cases
Here is a description of a few of the popular use cases for Apache Kafka®. For an overview of a number of these areas in action, see this blog post.
Messaging
Kafka works well as a replacement for a more traditional message broker. Message brokers are used for a variety of reasons (to decouple processing from data producers, to buffer unprocessed messages, etc). In comparison to most messaging systems Kafka has better throughput, built-in partitioning, replication, and fault-tolerance which makes it a good solution for large scale message processing applications.In our experience messaging uses are often comparatively low-throughput, but may require low end-to-end latency and often depend on the strong durability guarantees Kafka provides.
In this domain Kafka is comparable to traditional messaging systems such as ActiveMQ or RabbitMQ.
Website Activity Tracking
The original use case for Kafka was to be able to rebuild a user activity tracking pipeline as a set of real-time publish-subscribe feeds. This means site activity (page views, searches, or other actions users may take) is published to central topics with one topic per activity type. These feeds are available for subscription for a range of use cases including real-time processing, real-time monitoring, and loading into Hadoop or offline data warehousing systems for offline processing and reporting.Activity tracking is often very high volume as many activity messages are generated for each user page view.