AGENT SKILL

inlined-refs

Generate a Kafka consumer group lag dashboard. Use when the user asks to monitor lag, build a dashboard for consumer lag, or wire up Prometheus exporters for Kafka. Do NOT trigger for producer metrics, broker JMX, or Streams-specific monitoring.

License 许可
Apache-2.0
最近更新
2026-11-12
Stars
★ 65
Forks
11

01 前言 Front Matter

name
inlined-refs
description
Generate a Kafka consumer group lag dashboard. Use when the user asks to monitor lag, build a dashboard for consumer lag, or wire up Prometheus exporters for Kafka. Do NOT trigger for producer metrics, broker JMX, or Streams-specific monitoring.

02 资源文件 3

03 SKILL.md 正文

inlined-refs — consumer lag dashboarding

Step 1 — pick the exporter

We support two exporters. Read the comparison below before recommending.

Exporter comparison (from references/exporters.md)

kafka-exporter (Danielqsj)

Pros: lightweight, single binary, exposes per-group lag directly. Cons: stateful (consumes __consumer_offsets internally), can lag on large clusters.

Best for: clusters < 100 brokers, < 1000 consumer groups.

Config snippet:

kafka-exporter \
  --kafka.server=localhost:9092 \
  --kafka.version=3.5.0 \
  --web.listen-address=:9308

Confluent Control Center

Pros: official, covers full Confluent Platform metrics. Cons: paid licensing, heavier footprint.

Best for: enterprise Confluent Platform users.

Step 2 — Grafana dashboard

Use Grafana dashboard 7589 for kafka-exporter. Filter by consumer group, plot kafka_consumergroup_lag over a 5-minute window.

Step 3 — alerts

Set lag > 10,000 messages for 5 minutes as the default alert. Adjust per topic SLA.

04 同仓库更多 Skills

confluentinc
confluentinc/agent-skills

confluent-cloud-provider-integration

Guide a user through setting up and validating a Confluent Cloud provider integration, so fully-managed connectors and Tableflow reach cloud provider (CSP) resources via a short-lived assumed identity, not long-term access keys. Covers AWS (IAM AssumeRole), Azure (Entra ID multi-tenant app plus service principal), and Google Cloud (service account impersonation), with state tracking across the Confluent and CSP UIs/CLIs. Use when a user says "set up/create a provider integration", "provider integration for an S3 / DynamoDB / GCS / BigQuery connector", "connect a connector without access keys", "IAM role for a Confluent connector", "Entra ID service principal for Confluent", or asks about provider.integration.id or authentication.method. Do NOT trigger for configuring a connector that already has a working integration, for Confluent RBAC or API-key management, for CDC or Tableflow pipelines end-to-end, or for authoring an agent skill; this skill stops once the integration is created and validated.

★ 65
confluentinc
confluentinc/agent-skills

msk-migration

Use this skill to assess and plan a migration from AWS MSK (Managed Streaming for Apache Kafka) to Confluent Cloud. Triggers on user intent like "migrate MSK to Confluent Cloud", "move off MSK", "MSK to CC cutover", "Zero-Cut migration from MSK", "kcp scan my MSK", or any discussion of MSK-to-CC assessment, planning, cluster sizing, Cluster Linking setup, Gateway-based switchover, or post-cutover validation. Do NOT trigger for non-MSK Kafka sources (open-source Kafka, Aiven, Confluent Platform, Redpanda) — this skill is MSK-only. Do NOT trigger for greenfield Confluent Cloud projects with no existing Kafka source. Do NOT trigger for general Kafka programming questions (producer/consumer code, Kafka Streams) unrelated to migration.

★ 65
confluentinc
confluentinc/agent-skills

kafka-streams-programming

Architect, build, and debug Kafka Streams apps (JVM-embedded stream processing). Use when user mentions KStream, KTable, topology, TopologyTestDriver, StreamsBuilder, interactive queries, GlobalKTable, joins/windows/aggregations, or debugging issues (rebalancing, state stores, lag, deserialization errors). Also use when user wants to optimize Kafka Streams for WarpStream or tune Kafka Streams client configuration for WarpStream. Do NOT trigger for Flink, connectors, CDC, or plain producer/consumer.

★ 65
confluentinc
confluentinc/agent-skills

kafka-schema-registry

Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with rollout ordering. Use this skill when a user asks to analyze a folder or repo for Kafka usage, extract schemas, audit producer/consumer configurations, or generate Terraform for Schema Registry.

★ 65
confluentinc
confluentinc/agent-skills

flink-udf

Build and deploy Apache Flink user-defined functions (UDFs) in Java for stream processing over Kafka. Use this skill when users want to create scalar UDFs, user-defined table functions (UDTFs), or process table functions (PTFs) in Java, deploy them to Confluent Cloud or local Docker environments, and invoke them from Flink SQL or the Table API. Trigger on: Flink UDF, custom Flink function, process table function, PTF, UDTF, Flink user defined, extend Flink SQL, stateful stream processing with Flink. Do NOT trigger for: Kafka Streams UDFs (use kafka-streams-programming skill), general Flink job development without custom functions, CDC streaming data piplines that include Flink (prefer the confluent-cloud-cdc-tableflow skill), Flink connector setup, or Kafka producer/consumer code.

★ 65
confluentinc
confluentinc/agent-skills

developing-kafka-python-client

Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed serialization, or scaffold a confluent-kafka-python project for Confluent Cloud, local Docker, or WarpStream. Also use when user wants to optimize Python Kafka client configuration for WarpStream.

★ 65