Skip to main content

Kafka native client

An in-process Kafka protocol client for native applications: the Kafka wire implementation runs in your process — no proxy process, no gRPC hop. It speaks the Kafka binary protocol to Apache Kafka (KRaft) or Redpanda, negotiating API versions per connection.

Three form factors share one wire implementation:

  • kafka-native (this repo) — in-process library: Rust crate, C ABI, per-language FFI wrappers. Native only.
  • kafka-grpc — generated client stubs over gRPC transports from grpc-over-datachannels; browser OK, reaches a broker through the proxy.
  • kafka-proxy — the sidecar that bridges the two.

This repository is a generated export (version v0.47.1).

Use

Rust:

kafka-native = "0.1"
let broker = kafka_native::Broker::new(config);
broker.create_topics(vec![("events".into(), 3, 1)], 30_000, false).await?;

C: link libkafka_native and include crates/kafka-native/include/kafka_native.h. Calls take a method name and the protobuf-encoded request and return the protobuf-encoded response.

Python (stdlib ctypes, same generated messages as the gRPC client):

from grpcdc.kafka_native import NativeKafkaClient
client = NativeKafkaClient("127.0.0.1:9092")

Surface: metadata, produce/consume, producer sessions (idempotence, transactions), consumer groups, and the admin operations (configs, partitions, delete-records, groups, ACLs, transactions) — see KAFKA.md. Plaintext brokers only for now; SASL/TLS stay on the sidecar path.

Tests

docker build -f docker/kafka-native-ci.Dockerfile -t kafka-native-ci .
docker run --rm kafka-native-ci

GitHub Actions runs the same image on every push.

Metadata

Release files for kafka-native 0.47.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kafka-native 0.47.1
File Size Uploaded Provenance Actions
kafka_native-0.47.1.tar.gz 580.2 kB With provenance Details for kafka_native-0.47.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for kafka-native 0.47.1
File Actions
kafka_native-0.47.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for kafka_native-0.47.1-cp313-cp313-manylinux_2_28_x86_64.whl
kafka_native-0.47.1-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for kafka_native-0.47.1-cp313-cp313-manylinux_2_28_aarch64.whl
kafka_native-0.47.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for kafka_native-0.47.1-cp313-cp313-macosx_11_0_arm64.whl
kafka_native-0.47.1-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for kafka_native-0.47.1-cp313-cp313-macosx_10_12_x86_64.whl
kafka_native-0.47.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for kafka_native-0.47.1-cp312-cp312-manylinux_2_28_x86_64.whl
kafka_native-0.47.1-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for kafka_native-0.47.1-cp312-cp312-manylinux_2_28_aarch64.whl
kafka_native-0.47.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for kafka_native-0.47.1-cp312-cp312-macosx_11_0_arm64.whl
kafka_native-0.47.1-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for kafka_native-0.47.1-cp312-cp312-macosx_10_12_x86_64.whl

Total release size: 14.8 MB

Release files / kafka_native-0.47.1.tar.gz

Download URL kafka_native-0.47.1.tar.gz
Size 580.2 kB
Tags Source
SHA-256 checksum
How to use checksums
99888aa38fddb418168cd8c8061aa3fa3ffd593382ab0caf25e12981d13125aa
BLAKE2b-256 checksum
How to use checksums
63cbcd01d92965bf15860c88e77d6ed6523200bae52abdfb4bbd86c91d57ed7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL kafka_native-0.47.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.9 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
393798c5bb0d3d616d5b0cbd721e08d914dd3de2b381ec1cc482fa29508bf5d7
BLAKE2b-256 checksum
How to use checksums
ff66d0418b7040b70be8e81b9684b8b8c22742fb98669c4679c6c36776606cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL kafka_native-0.47.1-cp313-cp313-manylinux_2_28_aarch64.whl
Size 1.8 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
b51a3db90db1af9ae43ad3ea132f74221dae9e1491eaf224b869f5c23e29e098
BLAKE2b-256 checksum
How to use checksums
ce5c620bcb7e352dacb4130121ee6b6eedd2e34ca52987e83a1cffa8042d14fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL kafka_native-0.47.1-cp313-cp313-macosx_11_0_arm64.whl
Size 1.6 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
23a89da3966a48dabe54998051bbdce5bc193b45a6aa37f39abd0a7ae4dbaf0e
BLAKE2b-256 checksum
How to use checksums
6fe3f52c003e14dd39653bb8d1adb9f48edfd6a10e43a22a13feee848d7dc2f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp313-cp313-macosx_10_12_x86_64.whl

Download URL kafka_native-0.47.1-cp313-cp313-macosx_10_12_x86_64.whl
Size 1.8 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b58e624311b01bcbca7ed01b31981256f13c47a3d7b0ff73343ad0199f074f4a
BLAKE2b-256 checksum
How to use checksums
66d8d7fab81b399799a203b1946fa8038f2beb2fa7091d98fb93d8d736161a00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL kafka_native-0.47.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fd7ec9c4218909d06cfd591b205a6d3fd9cc9ea1dedf21cf132b7cc79ec0779b
BLAKE2b-256 checksum
How to use checksums
58128afa8be2ab5be84b3905bcd9c290e5d2cc8366856f94ac5b9a05147a4b2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL kafka_native-0.47.1-cp312-cp312-manylinux_2_28_aarch64.whl
Size 1.8 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
01ea8170da8f7364bd2594b4df81303db66d50ac51eb891b26e5f7a9dd7c341c
BLAKE2b-256 checksum
How to use checksums
e3c2c96a6b45a05771c99da9dd7878bbc6c336e3dd57df6ef6cf9c4866293931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL kafka_native-0.47.1-cp312-cp312-macosx_11_0_arm64.whl
Size 1.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
90909877aab1accb72399ad8a36bc5d50c99eff3a6b8e63de2c2d4f0b411396c
BLAKE2b-256 checksum
How to use checksums
eac1c9f7c762e76165f9af6ae89f1ff27dc29923094eeb20947bbb3370b9a40f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / kafka_native-0.47.1-cp312-cp312-macosx_10_12_x86_64.whl

Download URL kafka_native-0.47.1-cp312-cp312-macosx_10_12_x86_64.whl
Size 1.8 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
00d1425ae31e8693300675d21481b96972f815073ecdab0b6119a05ca66f8c6b
BLAKE2b-256 checksum
How to use checksums
909574b48c669ba19db25f6abbdba768ba1c62ea04b0b96f914ae36d79f0d143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for kafka-native 0.47.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for kafka_native-0.47.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page