Skip to content

[Enhance] getting arguments use an unified way in the client module #8622

Closed
@onewe

Description

Backgroud

背景

There are three ways of getting arguments in the client module now, from the properties、from the Jvm arguments and from the system environment. so it needs an unified way that get arguments.

现在总共有3种获取参数的方式在客户端模块中, 有从 properties中获取的、从Jvm参数获取的和从System环境变了中获取的. 所以需要一种统一获取参数的方式.

The reasons are as follows:

  • switch arguments getting order
  • better mock test

原因如下:

  • 提供切换参数读取顺序能力
  • 更方便的模拟测试

More detail see https://www.yuque.com/docs/share/e9fcd9a3-f3fb-496d-9b8b-bf4b88db4df0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

area/ClientRelated to Nacos Client SDKgood first issueGood for newcomerskind/enhancementCategory issues or prs related to enhancement.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions