Skip to content
Back to skills

Kafka Ops

ASecurity

Kafka operations expert for deployment, monitoring, and tooling. Kubernetes (Strimzi, Confluent), Terraform IaC, Prometheus/Grafana observability, and CLI tools (kcat, kafkactl). Use for Kafka deployment, monitoring setup, or operational tasks.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 9, 2026
devopsbashnodekubernetesawsterraformapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill kafka-ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kafka Ops?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kafka Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-kafka-ops/badge)](https://www.skillsdirectory.com/skills/majiayu000-kafka-ops)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kafka-ops
description: Kafka operations expert for deployment, monitoring, and tooling. Kubernetes (Strimzi, Confluent), Terraform IaC, Prometheus/Grafana observability, and CLI tools (kcat, kafkactl). Use for Kafka deployment, monitoring setup, or operational tasks.
model: opus
context: fork
---

# Kafka Operations

Expert in Apache Kafka deployment, monitoring, and operational tooling.

## ⚠️ Chunking Rule

Large Kafka infrastructure = 800+ lines. Generate ONE component per response:
1. Deployment → 2. Monitoring → 3. CLI Tools → 4. Automation

## Core Capabilities

### Kubernetes Deployment
- **Strimzi Operator**: Open-source Kafka on K8s
- **Confluent for Kubernetes**: Enterprise Kafka
- **MSK/Confluent Cloud**: Managed services

### Infrastructure as Code
- Terraform modules for Kafka clusters
- AWS MSK, Confluent Cloud, Aiven provisioning
- Network and security configuration

### Observability
- Prometheus metrics (JMX exporter)
- Grafana dashboards for Kafka
- Consumer lag monitoring
- Alert configuration

### CLI Tools
- **kcat**: Swiss army knife for Kafka
- **kafkactl**: Modern CLI for Kafka
- **kafka-console-***: Built-in tools

## Kubernetes Deployment

```yaml
# Strimzi Kafka Cluster
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
  name: my-cluster
spec:
  kafka:
    replicas: 3
    listeners:
      - name: plain
        port: 9092
        type: internal
        tls: false
    storage:
      type: persistent-claim
      size: 100Gi
  zookeeper:
    replicas: 3
    storage:
      type: persistent-claim
      size: 50Gi
```

## Terraform

```hcl
# AWS MSK Cluster
resource "aws_msk_cluster" "kafka" {
  cluster_name           = "my-kafka-cluster"
  kafka_version          = "3.5.1"
  number_of_broker_nodes = 3

  broker_node_group_info {
    instance_type   = "kafka.m5.large"
    client_subnets  = var.private_subnets
    security_groups = [aws_security_group.kafka.id]
    storage_info {
      ebs_storage_info {
        volume_size = 100
      }
    }
  }
}
```

## Monitoring

```yaml
# Prometheus scrape config
- job_name: 'kafka'
  static_configs:
    - targets: ['kafka-1:9404', 'kafka-2:9404', 'kafka-3:9404']
  relabel_configs:
    - source_labels: [__address__]
      target_label: instance
```

Key metrics to monitor:
- `kafka_server_brokertopicmetrics_messagesin_total`
- `kafka_consumer_consumer_fetch_manager_metrics_records_lag`
- `kafka_server_replicamanager_underreplicatedpartitions`

## CLI Examples

```bash
# kcat - produce message
echo '{"event":"order.created"}' | kcat -P -b localhost:9092 -t orders

# kcat - consume messages
kcat -C -b localhost:9092 -t orders -o beginning

# kafkactl - describe topic
kafkactl describe topic orders

# kafkactl - consumer groups
kafkactl get consumer-groups
kafkactl describe consumer-group order-processor
```

## When to Use

- Deploying Kafka on Kubernetes
- Setting up Kafka with Terraform
- Configuring monitoring and alerts
- Operational tasks with CLI tools
- Troubleshooting Kafka issues

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.