Refer - #47301 (comment) for background.
Elasticsearch Java Client 9.0.0 introduced Rest5Client which is drop-in replacement for elasticsearch-rest-client and elasticsearch-rest-client-sniffer.
Spring Boot 3 enables sniffer feature only if elasticsearch-rest-client-sniffer dependency available on classpath. On cloud deployment, it is advised to not use sniff explained in When not to sniff?. Spring Boot 4 enabled it by default. Since sniffing is optional opt-in feature, it is better to disable by default.
Disable by default keeps functionally equal to previous version.
@l-trotta @filiphr Please share your thought as well.