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
|
|
@ -29,6 +29,7 @@
|
|||
*/
|
||||
#include <srs_core.hpp>
|
||||
|
||||
class SrsLbRoundRobin;
|
||||
class SrsAsyncCallWorker;
|
||||
|
||||
#ifdef SRS_AUTO_KAFKA
|
||||
|
|
@ -39,6 +40,7 @@ class SrsAsyncCallWorker;
|
|||
class SrsKafkaProducer
|
||||
{
|
||||
private:
|
||||
SrsLbRoundRobin* lb;
|
||||
SrsAsyncCallWorker* worker;
|
||||
public:
|
||||
SrsKafkaProducer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue