You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "s281542686 (via GitHub)" <gi...@apache.org> on 2024/05/27 09:08:00 UTC

[PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

s281542686 opened a new pull request, #4350:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350

   Access apollo-client 2.2.0
   Multiple namespaces can be separated by commas (,)
   The configuration key of apollo-client has been mapped to a new configuration key. Now you can use the original key or the mapped key
   key mapping relationship is as follows:
   app.id  <==>  apollo.config.serviceName
   apollo.meta <==> apollo.config.meta
   apollo.config-service <==> apollo.config.serverUri
   apollo.cache-dir <==> apollo.config.cache-dir
   env <==> apollo.config.env
   idc <==> apollo.config.clusters
   apollo.cluster <==> apollo.config.clusters
   apollo.property.order.enable <==>apollo.config.property.order.enable
   apollo.access-key.secret <==> apollo.config.access-key.secret
   apollo.property.names.cache.enable <==> apollo.config.property.names.cache.enable
   apollo.label <==> apollo.config.label
   apollo.override-system-properties <==> apollo.config.override-system-properties
   Now when you change the configuration on Apollo, your application will be notified faster and more accurately. Work with ServiceComb to change the configuration.
   Note that a namespace of type YAML, Properties, or YML applications can resolve to each configuration. If the namespace type is JSON, only the first-layer configuration of the JSON file is parsed, and the configured value is String.
   Such as
   {
   "a": {
   "b": {
   "c": "Value"
   }
   }
   }
   Will be resolved as "a" <==> "{\"b\":{\"c\":\" value \"}}"
   If the namespace type is xml or txt, it is resolved as "content" <==> "Information configured in the namespace".
   The above namespace types are case insensitive.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 closed pull request #4350: The sdk supports the Apollo configuration center
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

Posted by "s281542686 (via GitHub)" <gi...@apache.org>.
s281542686 commented on PR #4350:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350#issuecomment-2136362241

   您自己的开发指南中也说到了目前接入Apollo整体逻辑功能和设计规格不完善,需要使用者自行基于 Apollo 提供的 SDK 自行扩展实现。我现在提交的PR就是基于Apollo 提供的 SDK 来扩展实现的。请考虑以下此PR。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 commented on PR #4350:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350#issuecomment-2136383974

   2.x不会再做不兼容性修改。 支持apollo只能在更新的版本开发,而且需要满足新的设计要求。你的提交也不满足这部分设计要求。 详细参考 `nacos`、`zookeeper`配置中心的文档: https://servicecomb.apache.org/references/java-chassis/zh_CN/registry/nacos.html  我们需要支持统一的配置管理概念。 如果你感兴趣, 在满足设计一致性要求的前提下,可以在3.x做这个功能支持。 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 commented on PR #4350:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350#issuecomment-2136455222

   > > 2.x不会再做不兼容性修改。支持apollo只能在更新的版本开发,而且需要满足新的设计要求。你的提交也不满足这部分设计要求。详细参考 、配置中心的文档: https://servicecomb.apache.org/references/java-chassis/zh_CN/registry/nacos.html 我们需要支持统一的配置管理概念。如果你感兴趣, 在满足设计一致性要求的前提下,可以在3.x做这个功能支持。`` nacos``zookeeper ``
   > 
   > 配置中心文档的链接是乎给错了,应该是这个吧: https://servicecomb.apache.org/references/java-chassis/zh_CN/config/nacos.html 具体对接入apollo的设计一致性要求是什么?
   
   是的。我发错了。关于配置一致性设计可以参考文章:  https://servicecomb.apache.org/references/java-chassis/zh_CN/featured-topics/secrets/applied-config.html
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 commented on PR #4350:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350#issuecomment-2133331079

   Thanks for your PR. But I'm afraid this PR is a breaking change, and I can't merge it. 
   
   I'd suggest it for your own usage if you are using Apollo. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] The sdk supports the Apollo configuration center [servicecomb-java-chassis]

Posted by "s281542686 (via GitHub)" <gi...@apache.org>.
s281542686 commented on PR #4350:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4350#issuecomment-2136402766

   > 2.x不会再做不兼容性修改。支持apollo只能在更新的版本开发,而且需要满足新的设计要求。你的提交也不满足这部分设计要求。详细参考 、配置中心的文档: https://servicecomb.apache.org/references/java-chassis/zh_CN/registry/nacos.html 我们需要支持统一的配置管理概念。如果你感兴趣, 在满足设计一致性要求的前提下,可以在3.x做这个功能支持。`nacos``zookeeper`
   
   配置中心文档的链接是乎给错了,应该是这个吧:
   https://servicecomb.apache.org/references/java-chassis/zh_CN/config/nacos.html
   具体对接入apollo的设计一致性要求是什么?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org