mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
kakfa erase messages when wrote.
This commit is contained in:
parent
22fa9a0f1f
commit
f9f5b56951
2 changed files with 58 additions and 3 deletions
|
|
@ -52,6 +52,8 @@ struct SrsKafkaPartition
|
|||
{
|
||||
private:
|
||||
std::string ep;
|
||||
SrsTcpClient* transport;
|
||||
SrsKafkaClient* kafka;
|
||||
public:
|
||||
int id;
|
||||
// leader.
|
||||
|
|
@ -63,6 +65,7 @@ public:
|
|||
virtual ~SrsKafkaPartition();
|
||||
public:
|
||||
virtual std::string hostport();
|
||||
virtual int connect();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue