Alerting

Be told when a consumer group falls behind, a connector fails or a partition loses replicas, without an extra monitoring stack.

Since KCM 1.8.0 Team and Enterprise

Create your first alert

  1. In a cluster, open Alerting > Channels and add a channel (global administrator). Send a test message before you save it.
  2. Open Rules and create a rule: condition, threshold or duration, severity and channels (ADMIN on the cluster).
  3. Select Evaluate now, or wait: rules are evaluated every minute.

Rules

ConditionFires whenNeeds
Consumer group lagThe total lag of a group is above the threshold.Metrics turned on for the cluster
Consumer group stuckA group does not commit on partitions that still receive messages. Metrics turned on for the cluster
Connector or task failedA Kafka Connect connector or one of its tasks is FAILED.Kafka Connect status history
Under-replicated partitionsA topic has more partitions out of sync than the threshold.
Partitions under min ISRA topic has more partitions under min.insync.replicas than the threshold.
Test scenario failedThe last run of a test scenario failed.A saved scenario

Channels

URLs and secrets are encrypted in the database and never shown again. If your receiver uses a private certificate authority, add it in Settings > Trusted certificates. Redirects are not followed.

Webhook payload

{
  "source": "KCM",
  "status": "FIRING",
  "severity": "CRITICAL",
  "title": "...",
  "text": "...",
  "rule": { "id": 12, "name": "Payments lag", "type": "CONSUMER_GROUP_LAG", "condition": "..." },
  "cluster": { "id": 3, "name": "shop-prod-eu" },
  "targets": [ { "key": "...", "name": "payments-app", "value": "...", "detail": "..." } ],
  "omittedTargets": 0,
  "occurredAt": "2026-11-30T09:15:00Z"
}

A notification lists 20 targets at most; omittedTargets counts the others.

Check that a call comes from KCM

import hashlib, hmac, time

def from_kcm(secret, headers, body):
    timestamp = headers["X-KCM-Timestamp"]
    if abs(time.time() - int(timestamp)) > 300:
        return False
    expected = hmac.new(secret.encode(), timestamp.encode() + b"." + body, hashlib.sha256).hexdigest()
    return hmac.compare_digest("sha256=" + expected, headers["X-KCM-Signature"])

Use the raw bytes of the body, before any JSON parsing.

Notification bell

The bell of the header shows the alerts fired and resolved on every cluster you can see. The badge counts what you have not read, and is red while an alert is firing. A click selects the cluster and opens its Alerting page. The bell refreshes every minute while the browser tab is visible.

Permissions and retention