fix soe and add connect info
This commit is contained in:
@@ -319,6 +319,9 @@ std::string G_LOG_KEY = "";//key
|
||||
std::string G_MQCONSUMER_TOPIC_LOG = "";//consumer topie
|
||||
std::string G_MQCONSUMER_TAG_LOG = "";//consumer tag
|
||||
std::string G_MQCONSUMER_KEY_LOG = "";//consumer key
|
||||
std::string G_CONNECT_TOPIC = "";//consumer topie
|
||||
std::string G_CONNECT_TAG = "";//consumer tag
|
||||
std::string G_CONNECT_KEY = "";//consumer key
|
||||
|
||||
int G_TEST_FLAG = 0;
|
||||
int G_TEST_NUM = 0;
|
||||
@@ -917,6 +920,12 @@ void init_config() {
|
||||
G_LOG_TAG = strdup(ba.data());
|
||||
ba = settings.value("RocketMq/LOGKey", "").toString().toLatin1();
|
||||
G_LOG_KEY = strdup(ba.data());
|
||||
ba = settings.value("RocketMq/CONNECTTopic", "").toString().toLatin1();
|
||||
G_CONNECT_TOPIC = strdup(ba.data());
|
||||
ba = settings.value("RocketMq/CONNECTTag", "").toString().toLatin1();
|
||||
G_CONNECT_TAG = strdup(ba.data());
|
||||
ba = settings.value("RocketMq/CONNECTKey", "").toString().toLatin1();
|
||||
G_CONNECT_KEY = strdup(ba.data());
|
||||
//MQ<4D><51><EFBFBD><EFBFBD>
|
||||
G_TEST_FLAG = settings.value("RocketMq/Testflag", 0).toInt();
|
||||
G_TEST_NUM = settings.value("RocketMq/Testnum", 0).toInt();
|
||||
@@ -933,6 +942,9 @@ void init_config() {
|
||||
std::cout << "Read G_LOG_TOPIC:" << G_LOG_TOPIC << std::endl;
|
||||
std::cout << "Read G_LOG_TAG:" << G_LOG_TAG << std::endl;
|
||||
std::cout << "Read G_LOG_KEY:" << G_LOG_KEY << std::endl;
|
||||
std::cout << "Read G_CONNECT_TOPIC:" << G_CONNECT_TOPIC << std::endl;
|
||||
std::cout << "Read G_CONNECT_TAG:" << G_CONNECT_TAG << std::endl;
|
||||
std::cout << "Read G_CONNECT_KEY:" << G_CONNECT_KEY << std::endl;
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ش<EFBFBD>ӡ
|
||||
std::cout << "Read G_ROCKETMQ_CONSUMER:" << G_ROCKETMQ_CONSUMER << std::endl;
|
||||
std::cout << "Read G_MQCONSUMER_IPPORT:" << G_MQCONSUMER_IPPORT << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user