1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add brokers to config

This commit is contained in:
winlin 2015-09-24 14:53:22 +08:00
parent f187a7deef
commit 2a4ab8a923
4 changed files with 38 additions and 2 deletions

View file

@ -27,6 +27,7 @@
#include <srs_kernel_log.hpp>
#include <srs_app_config.hpp>
#include <srs_app_async_call.hpp>
#include <srs_app_utility.hpp>
#ifdef SRS_AUTO_KAFKA
@ -64,7 +65,8 @@ int SrsKafkaProducer::start()
return ret;
}
srs_trace("kafka worker ok, enabled:%d", _srs_config->get_kafka_enabled());
std::string enabled = srs_bool2switch(_srs_config->get_kafka_enabled());
srs_trace("kafka worker ok, enabled:%s", enabled.c_str());
return ret;
}