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
|
|
@ -149,6 +149,12 @@ public:
|
|||
virtual int on_close(int key) = 0;
|
||||
};
|
||||
|
||||
// @global kafka event producer.
|
||||
extern ISrsKafkaCluster* _srs_kafka;
|
||||
// kafka initialize and disposer for global object.
|
||||
extern int srs_initialize_kafka();
|
||||
extern void srs_dispose_kafka();
|
||||
|
||||
/**
|
||||
* the kafka producer used to save log to kafka cluster.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue