Managing Amazon Msk
AWSOfficialPublished by AWS
- Skill
- Tool integration
- Cloud and DevOps
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides domain expertise for operating Amazon MSK Provisioned clusters. It covers performance troubleshooting, consumer lag diagnosis, storage management, cluster sizing, client configuration, and CloudWatch monitoring. It distinguishes between Standard and Express broker architectures, providing specific workflows for maintenance, topic management, and MSK Replicator setup. The skill also includes guidance on integrating with S3 via Streaming Tables and Data Delivery for General Purpose S3.
What it does
- Provides configuration patterns for Kafka producers and consumers.
- Offers workflows for managing MSK cluster configurations and custom domain names.
- Includes a sizing script for determining broker counts and instance types.
- Details procedures for MSK Replicator setup for DR and cross-account replication.
- Outlines monitoring and alerting strategies using CloudWatch metrics.
- Guides the setup of Streaming Tables and Data Delivery for S3.
When to use it
- When configuring or tuning Kafka clients for MSK connectivity.
- When sizing a new MSK cluster or choosing between Standard and Express brokers.
- When troubleshooting performance issues, consumer lag, or storage constraints.
- When setting up cross-cluster replication or disaster recovery.
- When integrating MSK with S3 for data lake or streaming table requirements.
Advantages
- Provides clear decision frameworks for Standard vs. Express broker types.
- Includes automated sizing logic via provided scripts.
- Centralizes operational procedures for common MSK maintenance tasks.
- Offers specific guidance for complex configurations like custom advertised listeners.
Usage examples
- “How do I choose between MSK Standard and Express brokers for my workload?”
- The agent will guide you through the size-and-choose-cluster.md reference and run the msk_sizing.py script to compare costs and performance characteristics.
- “My consumer lag is increasing, what should I check?”
- The agent will provide a troubleshooting workflow based on troubleshoot-consumer-lag.md, covering rebalance issues and consumer group health.
- “How do I configure a custom domain name for my MSK brokers?”
- The agent will explain how to use the custom.advertised.listeners configuration property as detailed in configure-cluster.md.
- “What are the recommended producer settings for MSK?”
- The agent will provide the table of recommended values for settings like linger.ms, batch.size, and acks from the configure-clients.md reference.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/aws/managing-amazon-msk/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip managing-amazon-msk.zip -d .agents/skills
Documentation by AWS
Amazon MSK
Overview
Domain expertise for operating Amazon MSK Provisioned clusters with Standard and Express broker types. Covers performance troubleshooting, consumer lag diagnosis, storage management, cluster sizing, client configuration, and CloudWatch monitoring.
Execute commands using available tools from the AWS MCP server when connected — it provides sandboxed execution, audit logging, and observability. When the MCP server is not available, fall back to the AWS CLI or shell as needed.
Standard brokers use customer-managed EBS volumes for storage. You choose instance types (kafka.m5/m7g families), provision EBS, and manage storage scaling.
Express brokers use instance types prefixed with express.m7g and are the default recommendation for almost all MSK workloads — they typically cost less, not just less effort. Up to 3x ingress per broker (MSK Express broker types) means fewer brokers for the same load, and storage is billed per GB-hour on data actually retained rather than provisioned up front on EBS that cannot shrink. They also scale 20x faster, rebalance partitions 180x faster (Intelligent Rebalancing), recover 90% quicker (MSK Express broker types), and have no maintenance windows. Express brokers have NO customer-managed EBS — do NOT recommend EBS expansion or provisioned throughput for Express clusters. Express brokers enforce fixed replication factor of 3 and min.insync.replicas=2. See size-and-choose-cluster.md for the full Standard vs Express decision framework.
Which Workflow Do You Need?
Determine the broker type first: aws kafka describe-cluster-v2 --cluster-arn <arn>. Check Provisioned.BrokerNodeGroupInfo.InstanceType — if it starts with express., it is an Express cluster.
| Customer Intent | Reference |
|---|---|
| High CPU, high latency, slow cluster, traffic shaping | troubleshoot-performance.md |
| Consumer lag increasing, rebalance storms, stuck consumer groups | troubleshoot-consumer-lag.md |
| Disk filling up, retention planning, tiered storage | manage-storage.md |
| Choosing Standard vs Express, sizing a cluster, partition limits, broker count, monthly cost | size-and-choose-cluster.md |
| Producer/consumer configuration, IAM/SCRAM/TLS auth | configure-clients.md |
Creating/applying MSK configurations (server.properties); custom domain names on brokers via custom.advertised.listeners (advertised listeners, static/custom bootstrap endpoint) — validation rules, apply/rollback, scaling; migrating from the dynamic per-broker kafka-configs.sh override to the static property | configure-cluster.md |
| Client-side connectivity for a custom domain: NLB + ACM certificate + Route 53 fronting, TLS handshake/termination, mTLS through an NLB, cross-zone load balancing | configure-clients.md (Custom Domain Name Connectivity section) |
Create, update, delete, list, or describe Kafka topics; when to use the native topic APIs / CfnTopic vs. a Kafka admin client | manage-topics.md |
| MSK Replicator setup, migration, DR, active-active/active-passive, cross-account replication, self-managed-to-MSK or MSK-to-MSK, loop-prevention/topic-naming behavior | msk-replicator.md |
Replication throughput per partition, how many partitions a replicator needs, why replicator scaling isn't increasing throughput, replicator quotas (topics, ingress, record size), ReplicationLatency/MessageLag/ReplicatorThroughput | msk-replicator.md (Size partition count section) |
| Setting up monitoring, dashboards, alarms | monitor-and-alarm.md |
| Full CloudWatch metric list (Standard or Express) | Prefer monitor-and-alarm.md for strategic recommendations and how to interpret metrics, only search documentation if you need to understand a metric not included in this reference file (MSK Standard CloudWatch Metrics, MSK Express CloudWatch Metrics) for full list |
| Rolling restart impact, patching, maintenance resilience | maintenance-operations.md |
| Deliver streaming data to Apache Iceberg tables on S3 Tables with low cost in a fully managed service (Streaming Tables) — setup, IAM, schema, create/update/delete/list/describe channels | streaming-tables.md |
| Deliver topic data to S3 bucket as JSON/ByteArray/String objects with low cost in a fully managed service (Data Delivery for General Purpose S3 buckets) — setup, IAM, output key templates, create/update/delete/list/describe channels | data-delivery-for-general-purpose-s3.md |
| Build a lakehouse / data lake from Kafka; make streaming data queryable in Athena | streaming-tables.md |
| Alternative to Kafka Connect S3 Sink or Amazon Data Firehose for MSK; zero-ops streaming delivery to S3 | data-delivery-for-general-purpose-s3.md |
| Streaming Tables / Data Delivery CloudWatch metrics and alarms, DLQ errors, failed deliveries, channel state transitions, freshness lag | streaming-tables-troubleshooting.md |
| "Can I use Streaming Tables / Data Delivery on MSK Serverless / Standard brokers?" — eligibility routing | streaming-tables.md (answer is always: Express brokers only, use Firehose, Flink, or Kafka Connect for Standard and Serqverless - Firehose integration for Amazon MSK) |
| What are the current supported Kafka versions for MSK? | Supported Apache Kafka versions |
| Does MSK support KRaft clusters, and how do I migrate between ZooKeeper and KRaft mode clusters? | zk-to-kraft-migration.md |
| What are the current quotas for MSK Express (ingress, egress, partitions, broker count, etc.)? | MSK Express Quotas |
| What are the current quotas for MSK Standard (partitions, broker count, etc.)? | MSK Standard Quotas, and MSK Standard best practices for partition count limits |
| What broker-level configuration changes can I make on MSK Express or Standard brokers? | MSK Configuration |
Available scripts
scripts/msk_sizing.py— MUST be run for any sizing question (broker count, instance choice, cost). Prices from the live AWS Pricing API when AWS credentials withpricing:GetProductsare available, and falls back to an embeddedus-east-1snapshot when they are not, so it runs with or without credentials. See size-and-choose-cluster.md for the required workflow and script reference.
Guardrail — where this skill's own files live (MCP vs local install)
This skill can be loaded two ways, and they resolve the skill's own bundled files — the references/ documents and the scripts/ files
from different places. Determine how the skill was loaded before you read a reference or run a script:
Loaded through the AWS MCP
retrieve_skilltool call. The skill is not installed on the local filesystem; its reference files and scripts do not exist on disk. You MUST fetch each reference or script through the sameretrieve_skilltool by passing thefileparameter (for example,file="references/configure-clients.md"orfile="scripts/msk_sizing.py"), and run a script from the content that tool returns. Do NOTfile_readthese paths from the local or working directory, and do NOT search the filesystem for them — they are not there, and any local file that happens to match the name is unrelated to this skill.Installed locally (the skill lives in a local skills directory such as
.claude/skills/managing-amazon-msk/,~/.claude/skills/managing-amazon-msk/, or.kiro/skills/managing-amazon-msk/). Read references and run scripts from the local skill directory using the relative paths shown throughout this documentation.
This distinction applies only to the skill's own packaged files. Every artifact
created during a session or supplied by users are read from and written to
the user's working directory regardless of how the skill was loaded. Never
fetch or write customer data through retrieve_skill.
Common Workflows
Create/apply Amazon MSK configurations and set custom domain names — creating an Amazon MSK configuration (server.properties with the fileb:// real-newline requirement), applying it with update-cluster-configuration, and setting broker custom domain names via custom.advertised.listeners: see configure-cluster.md. For the NLB/certificate/DNS connectivity that fronts a custom domain, see configure-clients.md.
Files
- ATTRIBUTION.mdAdded by AutoGineer918 B
- LICENSELicence file added by AutoGineer9.9 KiB
- NOTICELicence file added by AutoGineer67 B
- SKILL.md11.0 KiB
- references/configure-clients.md13.3 KiB
- references/configure-cluster.md11.3 KiB
- references/data-delivery-for-general-purpose-s3.md15.7 KiB
- references/maintenance-operations.md13.0 KiB
- references/manage-storage.md8.5 KiB
- references/manage-topics.md7.0 KiB
- references/monitor-and-alarm.md15.4 KiB
- references/msk-replicator.md18.9 KiB
- references/size-and-choose-cluster.md17.2 KiB
- references/streaming-tables-troubleshooting.md5.3 KiB
- references/streaming-tables.md19.5 KiB
- references/troubleshoot-consumer-lag.md11.5 KiB
- references/troubleshoot-performance.md9.3 KiB
- references/zk-to-kraft-migration.md728 B
- scripts/msk_sizing.pyScript62.6 KiB
references/monitor-and-alarm.md
Monitor and Alarm MSK Clusters
Monitoring Levels
MSK Provisioned clusters support 4 monitoring levels. Each level includes all metrics from the previous level.
| Level | Cost | Dimensions | What It Adds |
|---|---|---|---|
| DEFAULT | Free | Cluster Name; Cluster Name + Broker ID; Cluster Name + Consumer Group + Topic | Core metrics: CPU, memory, disk, bytes in/out, connection count, URP (Standard), partition count, consumer lag, TrafficShaping (Standard) |
| PER_BROKER | Paid | Cluster Name + Broker ID | Request handler/network idle %, EBS volume metrics (Standard), traffic shaping detailed (Standard), connection rates, produce/fetch latency, tiered storage metrics (Standard) |
| PER_TOPIC_PER_BROKER | Paid | Cluster Name + Broker ID + Topic | Per-topic message rates, conversion rates, tiered storage per topic (Standard) |
| PER_TOPIC_PER_PARTITION | Paid | Consumer Group + Topic + Partition | Per-partition consumer lag (OffsetLag, EstimatedTimeLag) |
Recommendation: Use PER_BROKER as the minimum for production clusters. Use PER_TOPIC_PER_BROKER if you need per-topic throughput visibility. Use PER_TOPIC_PER_PARTITION only if you need partition-level consumer lag granularity.
Key metrics NOT available on Express (do not alarm on these for Express clusters): UnderReplicatedPartitions, OfflinePartitionsCount, KafkaDataLogsDiskUsed, HeapMemoryAfterGC, BurstBalance, VolumeQueueLength, BwInAllowanceExceeded, BwOutAllowanceExceeded. Express uses ProduceThrottleTime, FetchThrottleTime, and StorageUsed instead.
For the full metric list per broker type and monitoring level, search AWS docs for "MSK CloudWatch metrics Standard brokers" or "MSK CloudWatch metrics Express brokers".
Update monitoring level:
# Get the cluster's current revision version first (this is an opaque revision string, NOT a Kafka version number):
# aws kafka describe-cluster-v2 --cluster-arn <cluster-arn> --query 'ClusterInfo.CurrentVersion' --output text
aws kafka update-monitoring --cluster-arn <cluster-arn> --current-version <cluster-current-version> \
--enhanced-monitoring PER_BROKERFollow SNS security best practices when wiring alarm actions to an SNS topic (e.g. --alarm-actions for aws cloudwatch put-metric-alarm calls).
CloudWatch Controller Metric Reporting Issues
Metrics like GlobalPartitionCount count the partitions across all topics in the cluster, excluding replicas, and require the Maximum statistic to interpret correctly. CloudWatch's default Average therefore spreads the true value across all brokers and returns roughly true_count / broker_count — so on an N-broker cluster it reads about 1/N of reality. Use the Maximum to see the true cluster-wide metrics.
MSK cluster-level metrics (DEFAULT level, dimension: Cluster Name) are emitted by the controller broker. Every broker emits them, but only the active controller reports the real value while the other brokers report 0. The same controller-metric behavior applies to GlobalTopicCount, OfflinePartitionsCount, and PreferredReplicaImbalanceCount: never use Average. Use Maximum to read the true value; Sum also works for a simple "> 0" breach check (the non-controller zeros contribute nothing), which is why the OfflinePartitionsCount critical alarm below is expressed as Sum > 0.
Recommended Alarms
Critical alarms (set these for every cluster)
| Metric | Condition | Action | Source |
|---|---|---|---|
CpuUser + CpuSystem | Average > 60% for 5 min | Scale broker size or add brokers. Check client batch config first. | MSK Best Practices |
KafkaDataLogsDiskUsed (Standard) | Max > 85% per broker | Expand EBS storage. Review topic retention. Enable auto-scaling. | MSK Best Practices |
UnderReplicatedPartitions (Standard) | Sum > 0 for 15 min | Check if maintenance is in progress. If not, investigate broker health. | MSK Best Practices |
UnderMinIsrPartitionCount (Standard) | Average ≥ 1 for 1 min | Partitions have fallen below min.insync.replicas. Produce calls with acks=all will fail with NotEnoughReplicas. Differs from URP: URP fires when any replica is behind; UnderMinIsr fires only when ISR drops to a level that breaks writes. Confirm broker health and replication factor ≥ 3 across topics. | MSK Best Practices |
OfflinePartitionsCount (Standard) | Sum > 0 | Immediate investigation — partitions unavailable for produce/consume. | MSK Best Practices |
ActiveControllerCount | Maximum < 1 for 5 min | No active controller. Brief dip during controller election on broker restart is normal. | MSK Best Practices |
Performance alarms (most require PER_BROKER level)
| Metric | Condition | Action |
|---|---|---|
RequestHandlerAvgIdlePercent | Average < 0.3 (30%) for 5 min | Request threads saturated. Check client batch sizes before scaling. |
NetworkProcessorAvgIdlePercent | Average < 0.3 for 5 min | Network threads saturated. May indicate connection storms or high TLS overhead. |
BwInAllowanceExceeded or BwOutAllowanceExceeded (Standard) | Sum > 0 for 5 min | Traffic shaping active. Check per-broker traffic distribution. Consider larger broker. |
HeapMemoryAfterGC (Standard, DEFAULT level) | Average > 60% for 5 min, 3 consecutive periods | Memory pressure after GC. Check connection count, consumer groups, partition count. Reduce transactional.id.expiration.ms from 604800000 (7 days) to 86400000 (1 day) to lower per-transaction memory footprint. Review high-cardinality consumer groups and excessive partition counts. |
CPUCreditBalance (Standard, t3 brokers only) | Average ≤ 100 for 5 min, 3 consecutive periods | t3 brokers earn CPU credits up to a max of 576. When the balance hits 0, CPU is capped at the 20% baseline and broker performance degrades sharply. Upgrade from t3 to m7g brokers — t3 is appropriate only for dev/test, never production sustained load. |
(Sum(VolumeReadBytes) + Sum(VolumeWriteBytes)) / (5 * 60 * 1024 * 1024) (Standard) | ≥ 80% of available volume throughput in MiB/s for 5 min, 3 consecutive periods | Underlying EBS volume read+write activity is approaching the volume's throughput limit. EBS throughput ceilings are invisible in Kafka metrics — this is the alarm that surfaces them. Use a metric math expression: sum VolumeReadBytes + VolumeWriteBytes per broker over a 5-min period, divide by 5*60 for per-second, then by 1024*1024 for MiB/s. Threshold = 0.8 × the volume's provisioned throughput. Remediation: provision higher EBS storage throughput, switch to gp3 with explicit throughput, or scale to a larger broker. See MSK provisioned throughput management. |
IAMTooManyConnections | Sum > 0 for 5 min | Clients exceeding the 100 new IAM connections/sec per broker limit (4/sec on t3). Check for connection storms from deployments, missing singleton patterns, or Lambda cold starts creating new clients per invocation. Add random jitter before client creation. See configure-clients.md connection management guidance. |
ConnectionCreationRate (IAM) | Sum ≥ 80 per minute for 1 min, 3 consecutive periods | Proactive alarm — fires before IAMTooManyConnections throttling kicks in. The 100/sec limit is fixed and cannot be raised. Use Sum statistic, NOT Average: a single broker reports ConnectionCreationRate as multiple datapoints across its network processors, so summing at the broker level gives the true total. Same remediation as IAMTooManyConnections. |
ClientConnectionCount per broker | Sum > 80% of the configured limit for 5 min, 3 consecutive periods | For IAM: the 3000 default cap is enforced — at 3000 new connections are rejected. Adjustable via listener.name.client_iam.max.connections (Kafka dynamic config, applied with kafka-configs.sh --bootstrap-server <bootstrap> --command-config client.properties --alter ..., where client.properties carries the IAM SASL settings — security.protocol=SASL_SSL, sasl.mechanism=AWS_MSK_IAM, sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required;, sasl.client.callback.handler.class=software.amazon.msk.auth.iam.IAMClientCallbackHandler — and is NOT an AWS CLI command). For SASL/SCRAM and mTLS: MSK does NOT enforce a connection cap, but high counts still consume network threads, file descriptors, and heap, and can cascade into RequestHandlerAvgIdlePercent saturation and produce/fetch latency. Alarm at the same 2400 (80% of 3000) baseline for non-IAM unless you have measured a different ceiling for the workload. Use the Client Authentication dimension to scope the alarm to the relevant listener. Use Sum statistic per minute — a single broker reports this metric as multiple datapoints across network processors. Common causes: creating new producer/consumer instances per request instead of reusing one per application, connection leaks from missing close() calls, or too many microservices connecting to the same cluster. See configure-clients.md connection management guidance. |
Consumer lag alarms (DEFAULT level)
Dimensions for all four: Cluster Name, Consumer Group, Topic. Do NOT add Broker ID — consumer lag is not a per-broker metric.
| Metric | Condition | Action |
|---|---|---|
EstimatedMaxTimeLag | Maximum > threshold seconds (e.g., 300 for a 5-minute SLA) with Period 60s × 15 EvaluationPeriods | Preferred for time-based SLAs like "any partition more than N minutes behind." This is already the per-partition worst case at DEFAULT level — no PER_TOPIC_PER_PARTITION monitoring cost and no metric math needed. Use Maximum statistic (Average dilutes hot-partition signals). The 15-min sustained window absorbs rebalances, broker restarts, and GC pauses that self-recover. |
MaxOffsetLag | Maximum > threshold (app-specific, e.g., 10000 offsets) for 15 min | Offset equivalent of EstimatedMaxTimeLag — per-partition worst case at DEFAULT level. Use Maximum statistic. Use when your SLA is expressed in messages rather than time. |
SumOffsetLag | Maximum ≥ threshold (app-specific) for 15 min | Aggregated lag across all partitions in a topic for a consumer group. Catches whole-topic backlog growth. Use this when total backlog or end-to-end latency matters more than any single partition. Use Maximum statistic on the offset-lag family (not Average or Sum-over-time) so a peak in a single 1-min datapoint isn't diluted by adjacent low-lag datapoints. For partition-level detail, use MaxOffsetLag above, the Offset metric (PER_TOPIC_PER_PARTITION level), or kafka-consumer-groups.sh --describe. |
EstimatedTimeLag | > threshold (app-specific) | Per-partition time lag at PER_TOPIC_PER_PARTITION monitoring level (paid). Only reach for this if you need per-partition alarming or dashboards. If you just want "any partition > N min behind," EstimatedMaxTimeLag at DEFAULT is cheaper and requires no aggregation. |
Do NOT invent metric names like ConsumerLag, RecordLag, or EstimatedMaximumLag — those are not real MSK metrics.
Per-broker capacity alarms
| Metric | Applies to | Condition | Action |
|---|---|---|---|
PartitionCount per broker | Standard and Express | > recommended limit for broker size (see size-and-choose-cluster.md) | Approaching partition hard limit. Scale to larger broker size or add brokers to redistribute. |
BytesInPerSec per broker | Express only | > ~80% of sustained ingress limit for broker size | Approaching per-broker ingress quota. Scale to larger broker size or add brokers. |
BytesOutPerSec per broker | Express only | > ~80% of sustained egress limit for broker size | Approaching per-broker egress quota. Scale or reduce consumer groups. |
Standard brokers do not have MSK-enforced per-broker throughput quotas — throughput is bounded by EBS volume type and EC2 network bandwidth instead. For Standard throughput alarming, use BwInAllowanceExceeded and BwOutAllowanceExceeded in the performance alarms section above.
Express-specific alarms
| Metric | Condition | Action |
|---|---|---|
ProduceThrottleTime | Average > 0 for 5 min | Per-broker ingress quota exceeded. Scale to larger Express broker or add brokers. |
FetchThrottleTime | Average > 0 for 5 min | Per-broker egress quota exceeded. Scale or reduce consumer groups. |
StorageUsed | See below — anomaly detection by default; static threshold when retention is known | Express storage is fully managed but billed per byte-hour, so unbounded growth = unbounded cost. ALWAYS create a storage alarm — never skip it. |
StorageUsed alarm — choose ONE of the two patterns:
Default (retention unknown, or you want to catch unusual growth): anomaly-detection alarm on
StorageUsed. CloudWatch builds a per-cluster baseline and alerts when usage falls outside the predicted band — no static threshold needed and it adapts as the workload changes. UseLessThanLowerOrGreaterThanUpperThresholdwithANOMALY_DETECTION_BAND(m1, 2). This is the recommended default for new clusters where you don't yet know the steady-state size.aws cloudwatch put-metric-alarm \ --alarm-name MSK-<cluster>-StorageUsed-Anomaly \ --metrics '[ {"Id":"m1","MetricStat":{"Metric":{"Namespace":"AWS/Kafka","MetricName":"StorageUsed","Dimensions":[{"Name":"Cluster Name","Value":"<cluster>"}]},"Period":300,"Stat":"Maximum"},"ReturnData":true}, {"Id":"ad1","Expression":"ANOMALY_DETECTION_BAND(m1, 2)","Label":"StorageUsed (expected)"} ]' \ --threshold-metric-id ad1 \ --comparison-operator LessThanLowerOrGreaterThanUpperThreshold \ --evaluation-periods 3 --datapoints-to-alarm 3 \ --treat-missing-data notBreachingStatic threshold (retention is known):
Maximum > SUM(BytesInPerSec) × retention_seconds × 3for 15 min (RF=3 on Express). Use this once the cluster has been running long enough to know steady-state ingress and retention is locked.
CloudWatch Dimension Reference
All MSK metrics use namespace AWS/Kafka.
| Dimension | Format | Example |
|---|---|---|
| Cluster Name | String (cluster name, not ARN) | my-msk-cluster |
| Broker ID | Integer string | 1, 2, 3 |
| Topic | String | my-topic |
| Consumer Group | ASCII string (non-ASCII drops metrics) | my-consumer-group |
| Partition | Integer string | 0, 1, 2 |
| Client Authentication | String | SSL, SASL_SCRAM, IAM |
Important: Consumer group names MUST use ASCII characters only. Non-ASCII characters cause consumer lag metrics to be silently dropped from CloudWatch.
Dashboard Construction
Create a CloudWatch dashboard with these sections:
Cluster Health:
ActiveControllerCount,OfflinePartitionsCount(Standard),UnderReplicatedPartitions(Standard); for Express addProduceThrottleTimeandFetchThrottleTimeCPU:
CpuUserper broker (line chart, one series per broker to spot AZ skew)Throughput:
BytesInPerSecandBytesOutPerSecper brokerStorage:
KafkaDataLogsDiskUsedper broker (Standard);StorageUsedcluster-level (Express)Consumer Lag:
MaxOffsetLagper consumer group/topicRequest Performance:
RequestHandlerAvgIdlePercent,ProduceTotalTimeMsMeanper broker
Use metric math for composite CPU alarm: m1 + m2 where m1 is defined as CpuUser and m2 is defined as CpuSystem for the target broker.
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server, Needs Python
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- AWS
- Publisher
- AWS (Official)
- Source
- aws/agent-toolkit-for-aws · plugins/aws-data-analytics/skills/managing-amazon-msk · commit 0a218f8
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- NOTICE (added by AutoGineer from NOTICE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Also distributed in
- aws/agent-toolkit-for-aws
AutoGineer is not affiliated with or endorsed by AWS or AWS.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download managing-amazon-msk.zip