majialoong opened a new pull request, #21633: URL: https://github.com/apache/kafka/pull/21633
Implements validation and enforcement rules for group configurations as defined in KIP-1240. Group config values in `GroupConfigManager` are clamped to the broker's [min, max] bounds when stored: - On broker startup, persisted configs that fall outside the current bounds are silently clamped (with a WARN log) instead of blocking startup. - Admin API updates are pre-validated and rejected if out of range, so clamping is effectively a no-op for that path. Also adds cross-range broker config validation (minSessionTimeout > maxHeartbeatInterval) for consumer, share, and streams groups to guarantee that independent clamping cannot produce sessionTimeout ≤ heartbeatInterval. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
