1
0
Fork 0
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:
winlin 2015-09-24 17:20:04 +08:00
parent 2a4ab8a923
commit 6efd2dd27e
8 changed files with 147 additions and 7 deletions

View file

@ -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();