diff --git a/conf/tfe/tfe.conf b/conf/tfe/tfe.conf index 0c429ec..4d02e87 100644 --- a/conf/tfe/tfe.conf +++ b/conf/tfe/tfe.conf @@ -29,9 +29,15 @@ mc_cache_enable=1 # default eth0 mc_cache_eth=eth0 # default NULL +<<<<<<< HEAD mc_cache_broker_list=192.168.40.224:9092 # default PXY-EXCH-INTERMEDIA-CERT mc_cache_topic=PXY-EXCH-INTERMEDIA-CERT +======= +mc_cache_broker_list= +# default MID-CERT-CACHE-LOG +mc_cache_topic=MID-CERT-CACHE-LOG +>>>>>>> a3856d20e7f702b74de5173ecf23538eadd0184a [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 c034d01..cc925b3 100644 --- a/platform/src/ssl_fetch_cert.cpp +++ b/platform/src/ssl_fetch_cert.cpp @@ -135,7 +135,11 @@ int ssl_mid_cert_kafka_logger_create(const char *profile, const char *section) goto error; } +<<<<<<< HEAD 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"); +======= + 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"); +>>>>>>> a3856d20e7f702b74de5173ecf23538eadd0184a 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);