Industrial Grade — LTS Support

The Architecture of wkafka

controlador de kafka

100%

Coverage & Testing

2★

GitHub Stars

MIT

Open Source License

LTS

Long Term Support

Designed for Zero Compromise

Engineered with formal verification principles, strict type validation, and native production readiness.

Decorator-driven API

Minimalistic and clean message handling.

Modern Python

Fully typed, PEP 8 compliant, supporting Python 3.9 through 3.14.

Enterprise Security

Built-in support for SASL (PLAIN, SCRAM) and KRaft mode.

Multimedia & File Native

Seamlessly send and receive images (OpenCV/NumPy/PIL) and arbitrary files (PDF, ZIP, TXT) via `format="file"`.

Type-safe Pydantic Validation

Automatic schema validation with `format="pydantic"`.

Manual Offset Commit

Control At-Least-Once delivery semantics with `auto_commit=False` and `msg.commit()`.

Declarative & Streamlined

Designed to eliminate low-level plumbing and cognitive friction, allowing engineers to build reliable solutions in minutes.

$ pip install wkafka[snappy]
View Documentation
quickstart.py
from wkafka import WKafka

# Configures automatically via KAFKA_SERVER or defaults to localhost:9092
kafka = WKafka(bootstrap_servers="localhost:9092")

@kafka.consumer(topic="orders", format="json")
def handle_order(msg):
    print(f"New order received: {msg.value}")

# Start consumers in a background thread pool
kafka.run_consumers(block=True)

# Produce with context manager safety
with kafka.producer() as p:
    p.send("orders", value={"id": 123, "item": "Coffee"}, format="json")
Wisrovi

The Wisrovi Ecosystem

wkafka is an integral component within the Wisrovi Binary Universe, engineered by William Steve Rodriguez Villamizar to unify high-throughput distributed systems, formal verification, and autonomous agent orchestration.

Visit wisrovi.dev Wisrovi GitHub Suite