kafka
Skill1 starsChanged 3 months agoMITView on GitHub
Build, review, debug, configure, migrate, teach, or plan Apache Kafka work from TypeScript with current docs. Prefer @platformatic/kafka as the TS SDK (Producer, Consumer, Admin, bootstrapBrokers, consume streams, ProduceAcks, transactions). Use for topics, partitions, consumer groups, offsets, acks, idempotence, EOS, compaction, retention, SASL/TLS, Schema Registry concepts, KRaft, Kafka 4.x, kafkajs migration, DLQ/outbox patterns, and broker ops that affect app produce/consume.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- newrelic/claude-code-plugintheir own version, first seen Nov 29, 2026
- Ghost7802/awesome-api-skillstheir own version, first seen Nov 29, 2026
- navikt/copilottheir own version, first seen Nov 16, 2026
- tejastn10/workbenchtheir own version, first seen Oct 13, 2026
- anurag-azure/skillstheir own version, first seen Jun 27, 2026
- mjunaidca/mjs-agent-skillstheir own version, first seen Dec 21, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- navikt/copilot★ 65same name
- mjunaidca/mjs-agent-skills★ 27same name
- Ghost7802/awesome-api-skills★ 13same name
- newrelic/claude-code-plugin★ 7same name
- tejastn10/workbench★ 1same name
- anurag-azure/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill for Kafka produce/consume/admin work driven from TypeScript/Node: prefer @platformatic/kafka, plus broker semantics, topic …
- Very specific: line 24
Prefer @platformatic/kafka over kafkajs (unmaintained) and over native node-rdkafka unless librdkafka is required.
- Very specific: line 25
Verify with focused produce/consume smokes, Admin topic create when needed, lag awareness, and close() on shutdown.
- Very specific: line 30
Default app semantic: at-least-once + idempotent handlers.
- Distinctive: line 33
Prefer outbox/CDC over dual-write (DB + Kafka in one request).
- Very specific: line 38
Prefer bun / bunx in command examples.
- Distinctive: line 42
Prefer repository-owned commands.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Apache Kafka (TypeScript)
Use this skill for Kafka produce/consume/admin work driven from TypeScript/Node: prefer @platformatic/kafka, plus broker semantics, topic design, delivery guarantees, and ops that change app code.
Workflow
- Inspect the local surface:
- Package:
@platformatic/kafka(snapshot 2.8.0). Engines: Node>=22.22or>=24.6. Kafka brokers 3.5–4.2 (KRaft-only on Kafka 4.0+). - Clients:
Producer/Consumer/AdminwithbootstrapBrokers(not KafkaJSbrokers). - Topics: partitions, keys, RF /
min.insync.replicas, cleanup policy. - Semantics: at-least-once vs EOS; auto vs manual commit;
ProduceAcks.
- Package:
- For day-to-day how-to, follow usage-guide.md first.
- Refresh docs when versions drift. Start from source-map.md.
- Route deeper detail:
- Concepts (partitions, groups, retention, EOS): fundamentals.md.
@platformatic/kafkaAPI, serializers, streams, txns, SASL: platformatic-kafka.md.- Design, DLQ, outbox, monitoring: patterns-ops.md.
- Client landscape & brokers: clients-ecosystem.md.
- Prefer
@platformatic/kafkaoverkafkajs(unmaintained) and over nativenode-rdkafkaunless librdkafka is required. Do not invent KafkaJSconnect/subscribe/runAPIs on Platformatic. - Verify with focused produce/consume smokes, Admin topic create when needed, lag awareness, and
close()on shutdown.
Core Judgment
- Kafka is an append-only partitioned log. Ordering is per partition only; parallelism ceiling for a group = partition count.
- Default app semantic: at-least-once + idempotent handlers. Use transactions/
READ_COMMITTEDonly when you need Kafka↔Kafka EOS. - Durability triad: RF=3,
min.insync.replicas=2, producerProduceAcks.ALL(+ idempotent producer when available). - Keys: stable entity ids for order/partitioning. Compaction requires keys + tombstones (
nullvalue). - Prefer outbox/CDC over dual-write (DB + Kafka in one request).
- Poison pills: retry/DLQ then commit — never block a partition forever.
- Platformatic: long-lived clients; lazy connect;
close(); consume viaconsume()→ stream (for await/data/ concurrentforEach); offsets arebigint; headers on consume are aMap. - Pass
serializers/deserializers(e.g.stringSerializers) — default expectsBuffer. - Kafka 4.0+ is KRaft-only (no ZooKeeper). Local/dev: fix
advertised.listeners. - Prefer
bun/bunxin command examples; runtime must still satisfy Node engines for@platformatic/kafka.
Verification
Prefer repository-owned commands. For meaningful Kafka work, cover the relevant subset:
bun pm ls @platformatic/kafkaand Node ≥22.22 (or ≥24.6).- Smoke: Admin
createTopics(or existing topic),Producer.send,Consumer.consume+ process +close(). - Durability:
ProduceAcks.ALL; idempotence/transactionalIdwhen claiming EOS. - Consumer: correct
groupId, mode (EARLIEST/LATEST/COMMITTED), commit-after-process whenautocommit: false. - Security: TLS + SASL (or mTLS); no PLAINTEXT on public networks.
- Ops: consumer lag, under-replicated partitions, hot-key skew, rebalance storms (
max.poll/ processing time).
Report which checks ran, which did not, and broker/version assumptions that remain.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

