diff --git a/conf/tfe/tfe.conf b/conf/tfe/tfe.conf index 0afdabf..0c429ec 100644 --- a/conf/tfe/tfe.conf +++ b/conf/tfe/tfe.conf @@ -29,9 +29,9 @@ mc_cache_enable=1 # default eth0 mc_cache_eth=eth0 # default NULL -mc_cache_broker_list= -# default MID-CERT-CACHE-LOG -mc_cache_topic=MID-CERT-CACHE-LOG +mc_cache_broker_list=192.168.40.224:9092 +# default PXY-EXCH-INTERMEDIA-CERT +mc_cache_topic=PXY-EXCH-INTERMEDIA-CERT [key_keeper] #Mode: debug - generate cert with ca_path, normal - generate cert with cert store diff --git a/platform/src/ssl_fetch_cert.cpp b/platform/src/ssl_fetch_cert.cpp index 4703503..c034d01 100644 --- a/platform/src/ssl_fetch_cert.cpp +++ b/platform/src/ssl_fetch_cert.cpp @@ -135,7 +135,7 @@ int ssl_mid_cert_kafka_logger_create(const char *profile, const char *section) goto error; } - MESA_load_profile_string_def(profile, section, "mc_cache_topic", g_kafka_logger->topic_name, sizeof(g_kafka_logger->topic_name), "MID-CERT-CACHE-LOG"); + MESA_load_profile_string_def(profile, section, "mc_cache_topic", g_kafka_logger->topic_name, sizeof(g_kafka_logger->topic_name), "PXY-EXCH-INTERMEDIA-CERT"); g_kafka_logger->topic = rd_kafka_topic_new(g_kafka_logger->handle, g_kafka_logger->topic_name, NULL); if (g_kafka_logger->topic == NULL) { TFE_LOG_ERROR(g_default_logger, "%s, Fail to create kafka topic with broker list: %s.", errstr, g_kafka_logger->broker_list);