qmetrics.net

Faust

Python asyncio stream processing for Kafka topics

Faust screenshot

Faust is a Python library for stream and event processing over Kafka, inspired by Kafka Streams. You write async agents and tables in plain Python without a separate DSL.

Overview

Faust ports Kafka Streams-style processing to Python using asyncio and type annotations. Workers consume partitioned Kafka topics through agents—async functions that handle each event—and can call other Python libraries such as NumPy, Pandas, Django, or Flask inside processors.

Distributed tables act like named key-value stores backed locally by RocksDB (or optionally Aerospike), with changelog topics for replication and failover. Tables support windowed aggregates with tumbling, hopping, and sliding time windows, and Record models describe how stream keys and values serialize.

The library targets high-throughput pipelines and emphasizes horizontal scaling, standby replicas, and recovery after node failure. Optional pip bundles add Redis caching, YAML codecs, Prometheus or Datadog monitoring, uvloop or eventlet integration, and debug tooling.

Kafka 0.10 or newer is required as the broker. Integrations exist for bridging blocking web frameworks via eventlet and for Tornado or Twisted through asyncio bridges.

Key features

  • Kafka topic agents in async Python
  • Distributed tables with RocksDB state
  • Windowed aggregations
  • Typed Record message models
  • Changelog replication and failover
  • Optional Prometheus and Datadog monitors
  • Pluggable Aerospike or Redis extras
  • Mypy-friendly static typing

Use cases

  • Real-time event pipelines on Kafka
  • Stateful stream processing in Python
  • Counted metrics sharded by partition key

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