Upgrade to Spring Kafka 4.0.0-M5.

Comment From: snicoll

Moving to snapshot will not be smooth due to Spring Kafka moving away from Spring Retry. See #46309 and a WIP commit that should help: https://github.com/snicoll/spring-boot/commit/120d110ad1506f1ecedead168aa46bb128320968

The PR hasn't been merged yet but it should happen soon, see https://github.com/spring-projects/spring-kafka/pull/4059

Comment From: jagadeesh9892

Updated to Spring Kafka 4.0.0-M5, fixed auto-configuration adjustments after Spring Retry removal, and verified all Kafka-related tests pass.