-
比如这些配置 通过一定的表达式 是怎么映射到nacos 的具体配置的 这一块的代码在哪? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
https://github.com/dromara/lamp-cloud/discussions?discussions_q=nacos.ip |
Beta Was this translation helpful? Give feedback.
-
问题1: 这个是spring boot 提供的功能。 |
Beta Was this translation helpful? Give feedback.
-
问题2: 你这个缩进明显不对。 |
Beta Was this translation helpful? Give feedback.
-
问题3: lamp-util 中 lamp-cache-starter 并没有对redis的配置做限制, 无论你是 单机还是集群,只要按照 spring-boot-starter-data-redis 的要求和格式来配置就行。 不会配置,请搜索 spring-boot-starter-data-redis 如何配置集群 |
Beta Was this translation helpful? Give feedback.
问题1:
17-20行中的 ${xxx} 读取的是项目配置文件中定义的 xxx 属性。
也就是说xxx定义在本文件中 或者 其他配置文件中,只要能被项目正常加载,都能识别。
这个是spring boot 提供的功能。