liveBook · Manning

Throttle-time metric

As explained in Apache Kafka in Action

A throttle-time metric reports the time a Kafka broker delays a client because the client has exceeded a quota.

A throttle-time metric reports how long a Kafka broker delays a client after the client exceeds a quota. Brokers use it to detect and manage quota violations while protecting shared cluster resources. section 13.3 section 13.4

Use the metric to reason about quota behavior:

  • A rising value indicates that a client is being delayed rather than receiving unrestricted broker capacity. section 13.3
  • Interpret it alongside produce, consume, and request quotas, which can constrain bytes per second or broker CPU time. section 13.3
  • Treat unexpected throttling as an operational signal: aggressive limits can disrupt service and contribute to cascading failures. section 13.3 section 13.4

Misconfigured producer

A producer that rapidly generates data can consume disproportionate broker capacity. A quota limits its activity, and throttle-time metrics reveal that the broker is delaying the client to protect other Kafka users. section 13.3 section 13.4

How Apache Kafka in Action covers it

How deep it goes
Defines the metric’s role in detecting quota violations but stops short of specifying its exact calculation or reporting interface.
Examples
Uses misconfigured producers, uncontrolled consumers, and conservative default quotas to illustrate why throttling requires monitoring.
What it assumes
Assumes familiarity with Kafka clients and brokers while distinguishing client-level and user-level quota configuration.
What you can do after
Diagnose quota-related client delays and identify when limits may be disrupting Kafka service.
How it connects
Connects quota enforcement with produce requests, consume requests, broker CPU quotas, client IDs, and user-level quotas.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Apache Kafka in Action. The section links point to the parts of the book it draws on.