mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
connect to kafka and send metadata request.
This commit is contained in:
parent
a9fdb630d9
commit
8974fe298b
8 changed files with 151 additions and 11 deletions
|
|
@ -31,6 +31,8 @@
|
|||
|
||||
class SrsLbRoundRobin;
|
||||
class SrsAsyncCallWorker;
|
||||
class SrsTcpClient;
|
||||
class SrsKafkaClient;
|
||||
|
||||
#ifdef SRS_AUTO_KAFKA
|
||||
|
||||
|
|
@ -42,6 +44,8 @@ class SrsKafkaProducer
|
|||
private:
|
||||
SrsLbRoundRobin* lb;
|
||||
SrsAsyncCallWorker* worker;
|
||||
SrsTcpClient* transport;
|
||||
SrsKafkaClient* kafka;
|
||||
public:
|
||||
SrsKafkaProducer();
|
||||
virtual ~SrsKafkaProducer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue