apache-kafka-event-streaming-and-schema-registry

apache-kafka-event-streaming-and-schema-registry is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 76 tokens per session (2,621 once invoked), scanned A, original, MIT.

A guide to Apache Kafka, a system for sending and retaining streams of events, plus Schema Registry, which stores rules for the shape of those events. It covers message partitions, consumer groups, delivery guarantees, and Avro, Protobuf, or JSON schemas.

In plain words
What is it for?
Use it when designing Kafka topics, producers, consumers, partitioning, transactional messages, retries, or shared event schemas.
Why use it?
It helps teams design event streams that preserve ordering, support multiple readers, and avoid incompatible message formats or lost data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing Kafka topics, producers, consumers, partitioning, transactional messages, retries, or shared event schemas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzabellouch/agent-skills --skill apache-kafka-event-streaming-and-schema-registry
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apache-kafka-event-streaming-and-schema-registry

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apache-kafka-event-streaming-and-schema-registry

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/apache-kafka-event-streaming-and-schema-registry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,621 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.02621
Opus 5 $0.00038 $0.01311
Sonnet 5 $0.00015 $0.00524
Haiku 4.5 $0.00008 $0.00262

Measured 8d ago against content hash 7aa4b4a200b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

apache-kafka-event-streaming-and-schema-registry scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Event Driven Systems/apache-kafka-event-streaming-and-schema-registry/SKILL.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apache Kafka Event Streaming & Schema Registry Guide

1. Overview & Core Philosophy

Apache Kafka is an append-only distributed commit log designed for high-throughput, fault-tolerant event streaming. Unlike traditional message queues (e.g., RabbitMQ) that delete messages upon consumer ACK, Kafka retains messages for a configurable retention window, allowing multiple heterogeneous consumer groups to read and re-read event streams independently.

Key Architectural Axioms

  • Log Ordering Guarantee: Total order is guaranteed only within a single partition, not across partitions in a topic.
  • Partitioning as Unit of Parallelism: Maximum concurrency for a consumer group is bounded by the number of partitions in a topic.
  • Decoupled State via Schema Registry: Producers and consumers must share data contracts via explicit schemas (Avro, Protobuf, or JSON Schema) registered in a Schema Registry rather than untyped payloads.
  • Zero-Data-Loss Default: Production setups must enforce strict durability constraints (acks=all, min.insync.replicas=2, replication.factor=3).

2. Topic Architecture & Partitioning Strategy

2.1 Partition Key Selection & Distribution

Selecting an optimal partition key is critical for balance and ordering.

  • Natural Entity Keys: Key by domain entity ID (e.g., order_id, customer_id) when state updates for that specific entity must arrive in order.
  • Custom Partitioner: Implement custom hashing (or murmur2 default) to prevent skew when entity keys follow power-law distributions (hotspot keys).
  • Null Keys (Round-Robin / Sticky): Use only for high-throughput append logs where ordering across events is irrelevant.

2.2 Topic Configuration Checklist

# Production Durability & Retention Standard
replication.factor=3
min.insync.replicas=2
cleanup.policy=delete # or compact for state tables
retention.ms=604800000 # 7 days
segment.bytes=1073741824 # 1GB
unclean.leader.election.enable=false

Read the full file on GitHub · 277 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 277 lines · 76 tokens per session scan A 7aa4b4a200b2

Subscribe to this mod's changes

apache-kafka-event-streaming-and-schema-registry is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 2,621 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.