Logo: Kafka Connector Review

Kafka Connector Review

Organisatioun
lensesio
kafka-connector-review

Review Kafka Connect connector configurations for common misconfigurations using the Lenses MCP server. Checks error handling, DLQ setup, converters, transforms, task count and task health. Use when user says "review connectors", "check connector configs", "why is my connector failing" or asks about Kafka Connect configuration. Do NOT use for creating, deploying or controlling connectors.

Iwwersiicht

Editeurlensesio
Repositoryagentic-engineering-for-apache-kafka
Skill-Nummkafka-connector-review
Stären
67
Forks
19
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    lensesio huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Kafka Connector Review an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/lensesio/agentic-engineering-for-apache-kafka/tree/main/skills/kafka-connector-review
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lensesio/agentic-engineering-for-apache-kafka.git /tmp/agentic-engineering-for-apache-kafka
mkdir -p .claude/skills
cp -r /tmp/agentic-engineering-for-apache-kafka/skills/kafka-connector-review .claude/skills/kafka-connector-review
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Kafka Connector Review an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Kafka Connector Review automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Kafka Connector Review net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Kafka Connect Configuration Review

Reviews Kafka Connect connector configurations for common misconfigurations. Connectors are defined as JSON/YAML and are entirely language-agnostic.

Target environment: $ARGUMENTS

Workflow

Copy this checklist and track your progress:

Connector Review Progress:
- [ ] Step 1: List all connectors
- [ ] Step 2: Inspect each connector's configuration
- [ ] Step 3: Validate configurations against plugin schemas
- [ ] Step 4: Audit for common misconfigurations
- [ ] Step 5: Generate report
  1. List all connectors with status and task states
  2. Inspect each connector's configuration in detail
  3. Validate configurations against plugin schemas
  4. Audit for common misconfigurations
  5. Report findings with current and recommended configs

Step 1: List All Connectors

Use the Lenses MCP list_kafka_connectors tool to get all connectors with:

  • Connector name, class and type (source/sink)
  • Status (RUNNING, PAUSED, FAILED, UNASSIGNED)
  • Task states and count
  • Cluster info

Flag immediately:

  • Critical: Connectors in FAILED state
  • Critical: Tasks in FAILED state
  • Warning: Connectors in PAUSED state with no obvious reason

Expected output: List of all connectors with name, class, status and task states.

Validation: If no connectors are returned, report that no Connect cluster is configured and stop.

Step 2: Inspect Configurations

Use the Lenses MCP get_kafka_connector_target_definition tool to get the full configuration YAML for each connector.

Step 3: Validate Configurations

Use the Lenses MCP validate_connector_configuration tool to validate each connector's config against its plugin's schema. This catches:

  • Missing required configuration fields
  • Invalid configuration values
  • Type mismatches

Step 4: Audit Common Misconfigurations

Error Handling

  • Critical: errors.tolerance=all without errors.deadletterqueue.topic.name (silently drops messages)
  • Warning: Missing errors.tolerance (defaults to none, connector stops on any error)
  • Warning: Missing errors.log.enable=true (errors not logged)
  • Suggestion: Add errors.deadletterqueue.context.headers.enable=true for richer DLQ metadata

Converters

  • Warning: key.converter or value.converter mismatch with topic serialisation format
  • Warning: Using org.apache.kafka.connect.storage.StringConverter for structured data (should use Avro/JSON/Protobuf converter)
  • Warning: Missing schemas.enable setting where schemas are expected

Transforms (SMTs)

  • Warning: Complex transform chains (> 3 SMTs) that may be hard to debug
  • Suggestion: Consider Kafka Streams or ksqlDB for complex transformations
  • Verify transform class names are valid and in the correct order

Task Count

  • Warning: tasks.max=1 on high-throughput connectors (limits parallelism)
  • Suggestion: Source connectors - tasks.max should align with source partitioning
  • Suggestion: Sink connectors - tasks.max should align with topic partition count

Connection and Retry

  • Warning: Missing retry configuration for connectors that interact with external systems
  • Warning: Missing connection timeout settings
  • Suggestion: Set explicit consumer.override.* or producer.override.* for performance tuning

Naming Conventions

  • Suggestion: Connector names should follow a consistent pattern (e.g., {source/sink}-{system}-{entity})

Success Criteria

Quantitative

  • Triggers on 90% of connector-related queries (test with 10-20 varied phrasings)
  • Completes review in under 10 MCP tool calls
  • Catches 100% of validation errors reported by the plugin schema

Qualitative

  • Failed connectors are flagged immediately in the status overview
  • Error handling gaps (missing DLQ, silent drops) are always identified
  • Report is useful for both connector operators and developers

Examples

Example 1: Routine connector review

User says: "Review all connectors in staging"

Actions:

  1. List all connectors with status
  2. Inspect and validate each connector's configuration
  3. Audit for common misconfigurations Result: Full report covering all connectors with prioritised findings

Example 2: Investigating a failed connector

User says: "My sink connector is failing, can you check why?"

Actions:

  1. List connectors and identify those in FAILED state
  2. Get the full configuration for the failed connector
  3. Validate config against plugin schema
  4. Check for common issues (DLQ, converters, error handling) Result: Diagnosis of the specific failure with remediation steps

Example 3: Single connector deep dive

User says: "Review the config for the elasticsearch-sink connector"

Actions:

  1. Fetch the target definition for the named connector
  2. Validate against its plugin schema
  3. Audit error handling, converters, task count Result: Focused report on a single connector

Troubleshooting

No connectors returned

Cause: No Kafka Connect cluster is configured in the environment or no connectors are deployed. Solution: Verify that a Connect cluster exists via Lenses UI. Check get_deployment_targets for available Connect clusters.

Validation fails with unknown plugin

Cause: The connector plugin class is not installed on the Connect cluster. Solution: Report the missing plugin. This is a deployment issue, not a configuration issue.

Connector shows RUNNING but tasks are FAILED

Cause: The connector framework is running but individual tasks have encountered errors. Solution: Check each task's status. Common causes include authentication failures, network issues or schema mismatches with the external system.

Output Format

## Connector Review Report

### Environment: {name}

### Connector Status Overview
| Connector | Class | Status | Tasks | Failed Tasks |
|-----------|-------|--------|-------|-------------|
| name | class | RUNNING | 3/3 | 0 |

### Critical (must fix)
- [connector-name] Description of the issue
  Current: {current config} | Recommended: {recommended config}

### Warning (should fix)
- [connector-name] Description of the issue
  Current: {current config} | Recommended: {recommended config}

### Validation Errors
- [connector-name] {field}: {validation error message}

### Suggestion (consider improving)
- [connector-name] Description of the suggestion
  Recommendation: {how to improve}

### Summary
- X connectors reviewed
- Y critical issues found
- Z warnings found
- Failed connectors: N
- Failed tasks: M

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Kafka Connector Review?

Review Kafka Connect connector configurations for common misconfigurations using the Lenses MCP server. Checks error handling, DLQ setup, converters, transforms, task count and task health. Use when user says "review connectors", "check connector configs", "why is my connector failing" or asks about Kafka Connect configuration. Do NOT use for creating, deploying or controlling connectors.

Firwat Kafka Connector Review op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Kafka Connector Review besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Kafka Connector Review an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/lensesio/agentic-engineering-for-apache-kafka/tree/main/skills/kafka-connector-review an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Kafka Connector Review benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Kafka Connector Review benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Kafka Connector Review domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Kafka Connector Review gratis?

Jo. lensesio huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇