mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add load balance round robin for brokers.
This commit is contained in:
parent
2a4ab8a923
commit
6efd2dd27e
8 changed files with 147 additions and 7 deletions
|
@ -4290,7 +4290,7 @@ SrsConfDirective* SrsConfig::get_kafka_brokers()
|
|||
return NULL;
|
||||
}
|
||||
|
||||
conf->get("brokers");
|
||||
conf = conf->get("brokers");
|
||||
if (!conf || conf->args.empty()) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue