1
0
Fork 0
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:
winlin 2015-10-15 17:45:58 +08:00
parent a9fdb630d9
commit 8974fe298b
8 changed files with 151 additions and 11 deletions

View file

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