From 8e58380a8a7939c1dcd43d2cfb8b4ccbb6aa0167 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Tue, 24 Dec 2019 13:46:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E8=AE=BE=E7=BD=AE=E4=B8=AD=E9=97=B4=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E5=8F=AF=E4=BF=A1=E8=AF=81=E4=B9=A6=E7=9A=84=20topic?= =?UTF-8?q?=20=E4=B8=BA=20PXY-EXCH-INTERMEDIA-CERT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/tfe/tfe.conf | 6 +++--- platform/src/ssl_fetch_cert.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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);