{
  "id": "kafka/group-max-size-exceeded",
  "signature": "org.apache.kafka.common.errors.GroupMaxSizeReachedException: The consumer group has reached its maximum size",
  "signature_zh": "org.apache.kafka.common.errors.GroupMaxSizeReachedException：消费者组已达到最大大小限制",
  "regex": "GroupMaxSizeReachedException.*maximum size",
  "domain": "kafka",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The consumer group has exceeded the maximum number of members configured by group.max.size.",
  "root_cause_type": "generic",
  "root_cause_zh": "消费者组的成员数超过了 group.max.size 配置的最大限制。",
  "versions": [
    {
      "version": "3.5.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.6.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Restarting consumers individually does not resolve the underlying configuration limit.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Deleting offsets only resets consumption progress, not the group membership count.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase group.max.size on the broker via kafka-configs.sh:\nkafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-default --alter --add-config group.max.size=20",
      "success_rate": 0.95,
      "how": "Increase group.max.size on the broker via kafka-configs.sh:\nkafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-default --alter --add-config group.max.size=20",
      "condition": "",
      "sources": []
    },
    {
      "action": "Reduce the number of consumer instances in the group by consolidating partitions to fewer consumers.",
      "success_rate": 0.85,
      "how": "Reduce the number of consumer instances in the group by consolidating partitions to fewer consumers.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase group.max.size on the broker via kafka-configs.sh:\nkafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-default --alter --add-config group.max.size=20",
    "Reduce the number of consumer instances in the group by consolidating partitions to fewer consumers."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://kafka.apache.org/documentation/#brokerconfigs_group.max.size",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.88,
  "resolvable": "true",
  "first_seen": "2024-03-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}