qmetrics.net

aiokafka

Asyncio client library for Apache Kafka

aiokafka screenshot

Python asyncio producer and consumer for Kafka brokers. It mirrors the Java client style with coordinated consumer groups and optional compression extras.

Overview

aiokafka is a Python client for Apache Kafka built on asyncio. It reuses internals from kafka-python for protocol parsing and errors while exposing async producer and consumer APIs.

AIOKafkaProducer sends messages asynchronously after contacting the cluster for metadata. AIOKafkaConsumer joins consumer groups for coordinated partition assignment on brokers that support modern group protocols, then iterates messages with standard topic, partition, offset, key, value, and timestamp fields.

The client supports Kafka 1.0 and newer brokers with fully coordinated consumer groups. Installation is via pip, with optional extras for LZ4, Snappy, zstd, and GSSAPI authentication where platform build tools are required.

Documentation covers producer buffering, retries, idempotent and transactional produce, offset management, rebalance listeners, SSL and SASL setup, metrics, and differences from kafka-python such as background rebalances and prefetch behavior.

Key features

  • Async Kafka producer client
  • Async consumer with group support
  • Java-like client semantics
  • Optional LZ4 Snappy zstd compression
  • SASL GSSAPI authentication extra
  • SSL context helpers
  • Transactional and idempotent produce
  • Prometheus metrics examples

Use cases

  • Async Python Kafka producers
  • Coordinated consumer group workers
  • Event streaming in asyncio services
  • Migrating from kafka-python patterns

Tags

Similar software

Bull

Redis-backed distributed job queue for Node.js

Bull is a Node.js queue library backed by Redis for delayed, prioritized, repeatable, and rate-limited background jobs with sandboxed workers.

  • Redis-backed durable queues
  • Delayed and cron-repeatable jobs
  • Job priorities and rate limiting
JavaScriptDetails →
★ 16.3k⟳ 6 months agoMIT
Open Source Alternative to:Amazon SQS

Asynq

Redis-backed distributed task queue for Go

A Go library for enqueueing background work and processing it with worker pools backed by Redis.

  • Redis-backed task queues
  • Scheduled and periodic tasks
  • Retries and crash recovery
GoCLIDetails →
★ 13.9k⟳ 23 days agoMIT

sarama

Go client library for Apache Kafka

Sarama is a Go module that implements an Apache Kafka client. It includes mocks for tests, example applications, and command-line utilities for diagnostics.

  • Apache Kafka protocol client
  • Go module with semver API
  • Mocks subpackage for unit tests
GoDetails →
★ 12.5k⟳ todayMIT

RQ

Redis-backed background job queue for Python

RQ is a Python library that queues functions for background workers backed by Redis or Valkey. It targets simple setup with scaling patterns for larger deployments.

  • Function calls enqueued to Redis queues
  • Workers with prioritized queue lists
  • Deferred and scheduled job execution
PythonDetails →
★ 10.7k⟳ 6 days agoBSD-2-Clause

BullMQ

Redis-backed distributed job queue for Node and other languages

BullMQ is an open-source message queue and job processor built on Redis, with client libraries for several runtimes.

  • Redis-backed job queues
  • Multi-language producer and worker clients
  • Delayed, scheduled, and repeatable jobs
TypeScriptDetails →
★ 9.7k⟳ todayMIT

MobileIMSDK

Cross-platform instant messaging transport SDK

MobileIMSDK is a lightweight IM protocol stack with UDP, TCP, and WebSocket options, Netty-based server, and client libs for Android, iOS, Java, and related mobile targets.

  • UDP TCP WebSocket protocols
  • Netty-based IM server
  • QoS resend and deduplication
Objective-CAndroid, iOSDetails →
★ 6.1k⟳ 1 month agoApache-2.0