Comments (6)
You tried “000000020” set up like this
from nacos-spring-boot-project.
I tried it like this tid: '00000002', and it worked, but i think this will cause confusion in use.
from nacos-spring-boot-project.
I tried it like this tid: '00000002', and it worked, but i think this will cause confusion in use.
Parsing, but this should be yaml designers that design, automatic optimization into digital, when you are not explicitly specified as a string
from nacos-spring-boot-project.
I think you directly using the application. The yaml configuration, parsing out should be the same effect
from nacos-spring-boot-project.
The SnakeYaml can use yaml.loadAs("demo.yml", JavaBean.class);
, this will automatic optimization into JavaBean
.
from nacos-spring-boot-project.
Maybe we will not develop this function at present,If you want to configuration file to the object directly, you can use this:NacosConfigConverter or @NacosConfigurationProperties
from nacos-spring-boot-project.
Related Issues (20)
- 什么时候能发版 HOT 2
- springboot3支持的nacos starter预计什么时候可以发版 HOT 1
- 扩展yaml 文件为空时,启动报错
- yaml 版本兼容问题 HOT 7
- Using dataids field causes NullPointerException
- spring boot版本2.3。4,start版本0.2.12 读取logback中读取springProperty中nacos配置由于不能优先加载,读取不到日志组件的配置的属性 HOT 1
- @NacosConfigurationProperties注解中动态配置优先级太低被系统配置覆盖 HOT 2
- 使用nacos做配置中心,开启权限认证后报错:[NacosClientAuthServiceImpl] login http request failed url: http://localhost:8848/nacos/v1/auth/users/login, params: {username=nacos}, bodyMap: {password=nacos}, errorMsg: connect timed out
- [Feature] Support more configuration of nacos properties HOT 2
- 请问支持springboot 3.xx吗 HOT 1
- Springboot集成Nacos配置中心报错 HOT 1
- ext-config 中配置无法单独生效 HOT 1
- snakeyaml 的版本过低 HOT 3
- nacos-config-spring-boot-starter 配置后在Linux启动过慢,win一般都是几十秒就启动了 HOT 1
- spring boot 2.7.15通过application.yml配置nacos.config.*不生效 HOT 1
- 什么时候出适配2.1.1-RC版本的springboot-starter呢 HOT 1
- grpc相关问题com.alibaba.nacos.shaded.io.grpc.okhttp.OkHttpChannelProvider HOT 4
- Nacos高可用配置疑问? HOT 1
- 更新0.3.0-RC后启动报错 HOT 3
- Nacos-config-spring-boot-starter does not support extended parameters for configuration encryption
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nacos-spring-boot-project.