dpkp/kafka-python

Python client for Apache Kafka

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 39 minutes ago
Added to GitGenius on September 11th, 2026
Created on September 24th, 2012
Open Issues & Pull Requests: 18 (+0)
GitHub issues: Enabled
Number of forks: 1,477
Total Stargazers: 5,901 (+0)
Total Subscribers: 141 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 26.0 days
Mean response time: 431.7 days
90th percentile: 1546.3 days
Tracked items: 353

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 11% of issues opened in the past year have been closed. Three people close 97% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 13
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,216 days
Stale 30+ days: 12
Stale 90+ days: 10

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • consumer (25)
  • producer (12)
  • admin-client (8)
  • network protocol (6)
  • bug (5)
  • enhancement (5)
  • needs investigation (5)
  • test coverage (5)

Most active issues this week

Detailed Description

kafka-python is a pure-Python client library for Apache Kafka that provides consumer, producer, and admin client functionality without external dependencies or compiled extensions.

The library solves the problem of connecting Python applications to Apache Kafka clusters. It implements high-level consumer and producer classes designed to behave similarly to the official Java client, allowing developers to produce and consume messages with straightforward APIs. The consumer supports both standalone operation and consumer group membership with dynamic partition assignment and offset management. The tool includes CLI scripts for interactive tasks like creating topics, producing messages, and consuming messages, offering a lightweight alternative to Kafka's bin scripts when a JVM is unavailable or inconvenient.

Developers should choose this tool if they need a dependency-light Kafka client for Python environments where installation simplicity matters. It suits projects that do not require maximum throughput, though the optional crc32c dependency can offload CPU-intensive checksum computation to an optimized C library for improved performance. The pure-Python implementation makes it portable across diverse environments without compilation overhead.

Issues and pull requests often wait weeks or longer for a first response. Work in the issue tracker is dominated by consumer, producer, and admin-client concerns, reflecting the core functionality areas that receive the most attention.