# twmb/franz-go

franz-go is a feature complete, pure Go library for Kafka from 0.8.0 through 4.2+. Producing, consuming, transacting, administrating, etc.

Repository: https://github.com/twmb/franz-go
Canonical: https://ross.abutalabs.com/products/franz-go
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: kafka, go, golang, kafka-client, client, redpanda
Last push: 2026-08-20T02:46:16+00:00

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

## Adoption (not part of the score)
Stars 3032, forks 299 (observed 2026-08-28T04:07:38.940986+00:00)

## What it is
franz-go is a feature-complete, pure Go Apache Kafka client library supporting Kafka 0.8.0 through 4.2+, including producing, consuming, transactions, and administration. It works with any Kafka-compatible broker such as Redpanda, Confluent Platform, Amazon MSK, and Azure Event Hubs.

## Use cases
- produce and consume Kafka messages from a Go application
- build exactly-once transactional event pipelines in Go
- administer Kafka clusters programmatically
- consume Kafka topics with consumer groups and rebalancing
- connect Go services to Redpanda or Amazon MSK
- encode and decode messages with a schema registry client
- stream events with compression and SASL/TLS authentication

## When to choose
- you need a pure Go Kafka client with no C dependencies
- you require full Kafka feature coverage including transactions, EOS, and share groups
- you need a high-performance client with low goroutine overhead
- you work with Kafka-compatible brokers like Redpanda or MSK
- you want built-in admin and schema registry support in one ecosystem

## When to avoid
- your project is not written in Go
- you need a simple high-level wrapper rather than a full-featured client
- you rely on the next-generation group protocol without opting in explicitly
- you need a client for a non-Kafka message broker

## Facets
- artifact type: library
- maturity: active
- function: message-queue, serialization, auth, cryptography, monitoring, logging
- domain: microservices, backend, developer-tools, apis
- platform: go, cross-platform, windows, cloud
- tags: kafka, kafka-client, event-streaming, redpanda, producer-consumer, transactions, exactly-once-semantics, schema-registry, pure-go, messaging, linux, macos, docker, kubernetes

## Member repositories
- twmb/franz-go (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.940986+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-30T07:29:48.101729+00:00, confidence not recorded.
  - readme: https://github.com/twmb/franz-go (fetched 2026-08-28T04:07:38.940986+00:00, sha 47d2a5020409)
- Data as of 2026-08-30T08:39:29.467469+00:00.
