Kafka Python Client

Scaffold a production-ready Python Kafka producer and consumer using `confluent-kafka-python`, with Schema Registry, graceful shutdown, idempotent producer, tests and a complete project layout. Discovers the target topic, partition count and registered JSON Schema directly from the live cluster via any attached Kafka MCP server (Lenses MCP, Confluent's MCP, Aiven's, custom) before asking the user. Use when user says "build a Python Kafka consumer", "scaffold a Kafka client in Python", "add Kafka to my Python service", "consume from `<topic>` in Python" or "write a Kafka producer". Do NOT use for Kafka Connect connectors, schema-evolution reviews or non-Python clients.

lensesio f2b1497 11 files · 89.8 KB Updated

File contents

lensesio/agentic-engineering-for-apache-kafka/tree/main/skills/kafka-python-client commit f2b1497410

Frequently asked questions

npx skillmds@latest add lensesio/kafka-python-client