### Navigation

- index
- modules |
- next |
- kafka-python 0.9.3 documentation »

# kafka-python

This module provides low-level protocol support for Apache Kafka as well as high-level consumer and producer classes. Request batching is supported by the protocol as well as broker-aware request routing. Gzip and Snappy compression is also supported for message sets.

http://kafka.apache.org/

On Freenode IRC at #kafka-python, as well as #apache-kafka

For general discussion of kafka-client design and implementation (not python specific), see https://groups.google.com/forum/m/#!forum/kafka-clients

## Status

The current stable version of this package is 0.9.2 and is compatible with:

Kafka broker versions

- 0.8.0
- 0.8.1
- 0.8.1.1

Python versions

- 2.6 (tested on 2.6.9)
- 2.7 (tested on 2.7.8)
- pypy (tested on pypy 2.3.1 / python 2.7.6)
- (Python 3.3 and 3.4 support has been added to trunk and will be available the next release)

## License

Copyright 2014, David Arthur under Apache License, v2.0. See LICENSE.

## Contents

- Install
  - Latest Release
  - Bleeding-Edge
  - Optional Snappy install
- Tests
  - Run the unit tests
  - Run a subset of unit tests
  - Run the integration tests
- Usage
  - High level
  - Keyed messages
  - Multiprocess consumer
  - Low level
- API Reference
  - kafka
  - kafka.consumer
  - kafka.partitioner
  - kafka.producer

# Indices and tables

- Index
- Module Index
- Search Page

### Navigation

- index
- modules |
- next |
- kafka-python 0.9.3 documentation »