Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstruct appconfig to support InstanceConfig. #1763

Merged
merged 58 commits into from
Oct 16, 2024

Conversation

quzard
Copy link
Collaborator

@quzard quzard commented Sep 18, 2024

No description provided.

core/runner/FlusherRunner.cpp Outdated Show resolved Hide resolved
core/runner/FlusherRunner.cpp Outdated Show resolved Hide resolved
core/runner/FlusherRunner.cpp Outdated Show resolved Hide resolved
@@ -43,9 +45,61 @@ bool FlusherRunner::Init() {
srand(time(nullptr));
mThreadRes = async(launch::async, &FlusherRunner::Run, this);
mLastCheckSendClientTime = time(nullptr);
LoadModuleConfig(true);
AppConfig::GetInstance()->RegisterCallback(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1、参数热加载变更,是否有统一的日志打印?最好有统一格式,由框架进行打印,便于查找日志。
2、打印的时机,最好是生效的时间,而不是读取的时间。因为读取后不一定格式正确。

core/app_config/AppConfig.cpp Show resolved Hide resolved
core/instance_config/InstanceConfigManager.cpp Outdated Show resolved Hide resolved
core/app_config/AppConfig.cpp Outdated Show resolved Hide resolved
core/common/Flags.h Outdated Show resolved Hide resolved
@yyuuttaaoo yyuuttaaoo merged commit 6ac89ac into alibaba:main Oct 16, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants