Enable @ConditionalOnLoadBalancerNacos by default, as Ribbon has been…
Describe what this PR does / why we need it
Avoid requiring users to manually configure spring.cloud.loadbalancer.nacos.enabled=true in app configuration files such as application.yml.
Instead, use Spring Boot auto-configuration to set up the load balancer.
Since the Spring Cloud Alibaba Nacos Discovery starter has removed Ribbon support, the only available load balancer is Spring Cloud LoadBalancer — it should be enabled by default.
Does this pull request fix one issue?
Describe how you did it
Describe how to verify it
Special notes for reviews
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
thomas lee seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Hello, thank you for your PR! However, we currently do not recommend using Nacos LoadBalancer as the default option. This would change the default configuration for many users and could lead to some unexpected issues when integrating with SpringCloud LoadBalancer.