nacos
nacos copied to clipboard
how to disable nacos config?
spring.cloud.nacos.config.enabled=false it is not work . i want to use application-dev.properties to replace nacos config, the vesion is 2.1.2
Did you config spring.cloud.nacos.config.enabled=false
in bootstrap.properties?
yes, it is not working
yes, it is not working
Refer to the official Spring documentation for instructions:
If you want to retrieve specific profile configuration, you should also set
spring.profiles.active
inbootstrap.[properties | yml]
. You can disable the bootstrap process completely by settingspring.cloud.bootstrap.enabled=false
(for example, in system properties).
Thanks for your feedback and contribution. But the issue/pull request has not had recent activity more than 180 days. This issue/pull request will be closed if no further activity occurs 7 days later. We may solve this issue in new version. So can you upgrade to newest version and retry? If there are still issues or want to contribute again. Please create new issue or pull request again.