# kafka-rust/kafka-rust

Rust client for Apache Kafka

Repository: https://github.com/kafka-rust/kafka-rust
Canonical: https://ross.abutalabs.com/products/kafka-rust
Language: Rust
License: MIT
License Family: permissive
Topics: rust, kafka, kafka-rust, rust-client
Last push: 2026-07-02T21:09:25+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 4136, "days_push": 62, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1448, forks 150 (observed 2026-08-28T04:04:45.530242+00:00)

## What it is
A Rust client library for Apache Kafka providing producer and consumer APIs with offset management and TLS support via rustls. It is a crates.io crate compatible with Kafka versions 0.8.2 through 3.1.0.

## Use cases
- produce messages to kafka from rust
- consume kafka topics in a rust application
- build a rust event streaming pipeline with kafka
- connect to kafka with TLS from rust
- manage consumer group offsets in rust

## When to choose
- you need a pure-Rust Kafka client without OpenSSL dependencies
- you want producer/consumer APIs with group offset management in Rust
- you need TLS support via rustls for portable cross-compilation

## When to avoid
- you need full feature parity with the newest Kafka protocol versions
- you need a battle-tested client with large community support like librdkafka-based clients
- you require Kafka 0.9+ features not yet implemented

## Facets
- artifact type: library
- maturity: active
- function: message-queue, serialization, http-client
- domain: microservices, backend, developer-tools
- platform: rust, cross-platform
- tags: kafka, kafka-client, event-streaming, rustls, producer-consumer, messaging

## Member repositories
- kafka-rust/kafka-rust (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.530242+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:03.776907+00:00, confidence not recorded.
  - readme: https://github.com/kafka-rust/kafka-rust (fetched 2026-08-28T04:04:45.530242+00:00, sha bc7ccd894316)
- Data as of 2026-08-30T08:39:29.467469+00:00.
