mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
kafka refine comments.
This commit is contained in:
parent
31a77a83ed
commit
de41c1c9d2
3 changed files with 42 additions and 31 deletions
|
|
@ -69,7 +69,7 @@ private:
|
|||
st_mutex_t lock;
|
||||
SrsReusableThread* pthread;
|
||||
private:
|
||||
bool meatadata_ok;
|
||||
bool metadata_ok;
|
||||
st_cond_t metadata_expired;
|
||||
public:
|
||||
std::vector<SrsKafkaPartition*> partitions;
|
||||
|
|
@ -93,6 +93,8 @@ public:
|
|||
private:
|
||||
virtual int do_cycle();
|
||||
virtual int request_metadata();
|
||||
// set the metadata to invalid and refresh it.
|
||||
virtual void refresh_metadata();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue