Phixsura opened a new pull request, #22319: URL: https://github.com/apache/kafka/pull/22319
Adds an INFO log line in `KafkaRaftServer` right after `meta.properties` is loaded, recording the `cluster.id`. As requested in [KAFKA-20530](https://issues.apache.org/jira/browse/KAFKA-20530), this lets operators troubleshoot `INCONSISTENT_CLUSTER_ID` errors directly from server logs without dumping `meta.properties` manually. Example output: ``` [KafkaRaftServer nodeId=0] Loaded cluster id <UUID> from meta.properties (kafka.server.KafkaRaftServer) ``` Verified locally with `./gradlew core:compileScala`, `./gradlew core:test --tests "kafka.server.KafkaRaftServerTest"`, and the lint trio (`checkstyleMain`, `spotbugsMain`, `spotlessCheck`). -- 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]
