diff options
| author | 童宗振 <[email protected]> | 2024-10-31 02:00:50 +0000 |
|---|---|---|
| committer | 童宗振 <[email protected]> | 2024-10-31 02:00:50 +0000 |
| commit | db788a4186197ceb2f9fcdd4baef39f6ac469be1 (patch) | |
| tree | 7ce9f78b3dfa0117402bf172916901512b223394 | |
| parent | 90918bd07257bbdf8fabacd41063409aa0ceb1d6 (diff) | |
| parent | 59c953190e83d9135927d7f6ea99465b5180f9d5 (diff) | |
Merge branch 'fix_config_spelling' into 'dev-0.4'v0.4.1-20241025
Fix the typo in broker in the configuration file
See merge request tsg/dp_telemetry_app!53
| -rw-r--r-- | etc/dp_trace.conf | 2 | ||||
| -rw-r--r-- | src/config.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/dp_trace.conf b/etc/dp_trace.conf index 9f72037..7f13a5b 100644 --- a/etc/dp_trace.conf +++ b/etc/dp_trace.conf @@ -12,7 +12,7 @@ listen_port=10000 keep_alive_path=/probe [kafka] -borker_list="192.168.44.12:9094" +broker_list="192.168.44.12:9094" topic_name="DATAPATH-TELEMETRY-RECORD" sasl_username=admin sasl_password=galaxy2019 diff --git a/src/config.c b/src/config.c index 0cac3e4..770cf22 100644 --- a/src/config.c +++ b/src/config.c @@ -95,7 +95,7 @@ void config_load() printf("SLED_IP environment variable does not exist.\n"); } - MESA_load_profile_string_def(config_path, "kafka", "borker_list", g_conf->broker_list, sizeof(g_conf->broker_list), + MESA_load_profile_string_def(config_path, "kafka", "broker_list", g_conf->broker_list, sizeof(g_conf->broker_list), ""); MESA_load_profile_string_def(config_path, "kafka", "topic_name", g_conf->topic_name, sizeof(g_conf->topic_name), ""); |
