agentsclimarketplace

Kafka connector review

Skill lensesio/agentic-engineering-for-apache-kafka/skills/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.From its SKILL.md

Install
npx -y skills add lensesio/agentic-engineering-for-apache-kafka --skill kafka-connector-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.7 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it: 1 file

1.8 KB alongside SKILL.md

references/

Gives 0 of the 12 instructions most project setup skills give in ~1.4k tokens

Counted across 1,553 of the 3,091 authors here whose files we hold, read 2026-09-06

  • Write the configuration filein 36 of 1553
  • Create the directory structurein 35 of 1553, across 33 files
  • Verify the setupin 31 of 1553, across 28 files
  • Run the setup scriptin 30 of 1553, across 29 files
  • Pre-determine the required sample sizein 29 of 1553, across 12 files
  • Check if the configuration already existsin 29 of 1553
  • Document every testin 26 of 1553, across 10 files
  • Start with a hypothesisin 26 of 1553, across 11 files
  • Ask one question at a timein 22 of 1553
  • Test a single variable per testin 21 of 1553, across 9 files
  • Read product marketing context before asking questionsin 19 of 1553, across 8 files
  • Do not peek and stop earlyin 18 of 1553, across 7 files

Said here and by no other author read

  • List all connectors with status
  • Inspect each connector configuration
  • Audit for common misconfigurations

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.