nacos icon indicating copy to clipboard operation
nacos copied to clipboard

how to disable nacos config?

Open hsapphire opened this issue 3 years ago • 4 comments

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

hsapphire avatar Jan 18 '22 08:01 hsapphire

Did you config spring.cloud.nacos.config.enabled=false in bootstrap.properties?

YunWZ avatar Jan 18 '22 10:01 YunWZ

yes, it is not working

hsapphire avatar Feb 08 '22 15:02 hsapphire

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 in bootstrap.[properties | yml]. You can disable the bootstrap process completely by setting spring.cloud.bootstrap.enabled=false (for example, in system properties).

YunWZ avatar Feb 09 '22 14:02 YunWZ

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.

stale[bot] avatar Sep 21 '22 01:09 stale[bot]