KIP-1197 — Introduce new method to improve the TopicBasedRemoteLogMetadataManager's initialization
Discussion Kafka 4.2 Tiered Storage
Replaces the polling/retry initialization loop in TopicBasedRemoteLogMetadataManager with a direct dependency on broker readiness, adding a new initialization hook to avoid retrying before the broker can handle __remote_log_metadata requests. The default 2-minute retry timeout was insufficient for clusters that take more than 2 minutes to start, causing tiered storage initialization failures that left local log segments undeleted and produced excessive WARN logs.
Details
| Author | fu.jian |
| Status | Discussion |
| Kafka Version | 4.2 |
| JIRA | KAFKA-19426 |
| Wiki | View on Apache Wiki |
| Created | 2025-07-25 |
| Last Modified | 2025-11-01 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.