alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.27k stars 12.84k forks source link

What if the content content is too long to publish the NACOS configuration through API #9002

Closed zouao0821 closed 2 years ago

zouao0821 commented 2 years ago

What if the content content is too long to publish the NACOS configuration through API? POST http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=test1&group=capp&content=url%3A+d-im.cn&type=yaml What I want to add: `mybatis-plus: mapper-locations: classpath:mapper/*Mapper.xml type-aliases-package: com.immotors.lapp.privilege.pojo.po

feign: httpclient: enabled: false disable-ssl-validation: true okhttp: enabled: true

hystrix: command: default: execution: timeout: enabled: true isolation: thread: timeoutInMilliseconds: 7000 ribbon: ReadTimeout: 7000 ConnectTimeout: 7000

swagger: enable: false application-name: ${spring.application.name} application-version: 1.0 application-description: springfox swagger 3.0整合 try-host: localhost:${server.port}

knife4j: basic: enable: true`

KomachiSion commented 2 years ago

There is no limit for nacos publish config, but community not suggest the content more than 100k.