mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine kafka
This commit is contained in:
parent
5a76f15e4e
commit
9a3674c624
8 changed files with 101 additions and 53 deletions
|
@ -138,16 +138,8 @@ private:
|
|||
int publish_normal_timeout;
|
||||
// whether enable the tcp_nodelay.
|
||||
bool tcp_nodelay;
|
||||
// the kafka cluster
|
||||
#ifdef SRS_AUTO_KAFKA
|
||||
ISrsKafkaCluster* kafka;
|
||||
#endif
|
||||
public:
|
||||
#ifdef SRS_AUTO_KAFKA
|
||||
SrsRtmpConn(SrsServer* svr, ISrsKafkaCluster* k, st_netfd_t c, std::string cip);
|
||||
#else
|
||||
SrsRtmpConn(SrsServer* svr, st_netfd_t c, std::string cip);
|
||||
#endif
|
||||
virtual ~SrsRtmpConn();
|
||||
public:
|
||||
virtual void dispose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue