{
  "id": "kafka/offset-commit-future-timeout",
  "signature": "org.apache.kafka.common.errors.TimeoutException: Offset commit request timed out after 60000 ms",
  "signature_zh": "org.apache.kafka.common.errors.TimeoutException：偏移量提交请求在 60000 毫秒后超时",
  "regex": "TimeoutException.*Offset commit request timed out",
  "domain": "kafka",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The consumer's offset commit request to the group coordinator timed out due to network latency, coordinator unavailability, or overload.",
  "root_cause_type": "generic",
  "root_cause_zh": "消费者向组协调器提交偏移量的请求因网络延迟、协调器不可用或过载而超时。",
  "versions": [
    {
      "version": "3.2.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.4.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.6.1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Enabling auto.offset.commit=false prevents automatic commits but does not fix the underlying network issue.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Increasing session.timeout.ms only affects liveness detection, not commit request timeouts.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the consumer's default.api.timeout.ms to allow more time for offset commits:\nprops.put(ConsumerConfig.DEFAULT_API_TIMEOUT_MS_CONFIG, 120000);\nAlso ensure network connectivity to the group coordinator is stable.",
      "success_rate": 0.85,
      "how": "Increase the consumer's default.api.timeout.ms to allow more time for offset commits:\nprops.put(ConsumerConfig.DEFAULT_API_TIMEOUT_MS_CONFIG, 120000);\nAlso ensure network connectivity to the group coordinator is stable.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Identify the group coordinator and check its health:\nkafka-consumer-groups.sh --bootstrap-server localhost:9092 --group my-group --describe\nIf the coordinator is overloaded, scale out the broker cluster or reduce the number of consumer groups.",
      "success_rate": 0.8,
      "how": "Identify the group coordinator and check its health:\nkafka-consumer-groups.sh --bootstrap-server localhost:9092 --group my-group --describe\nIf the coordinator is overloaded, scale out the broker cluster or reduce the number of consumer groups.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase the consumer's default.api.timeout.ms to allow more time for offset commits:\nprops.put(ConsumerConfig.DEFAULT_API_TIMEOUT_MS_CONFIG, 120000);\nAlso ensure network connectivity to the group coordinator is stable.",
    "Identify the group coordinator and check its health:\nkafka-consumer-groups.sh --bootstrap-server localhost:9092 --group my-group --describe\nIf the coordinator is overloaded, scale out the broker cluster or reduce the number of consumer groups."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://kafka.apache.org/documentation/#consumerconfigs_default.api.timeout.ms",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.82,
  "resolvable": "partial",
  "first_seen": "2024-01-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}