mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
5600d06583
Signed-off-by: yukun <kun.yu@zilliz.com>
14 lines
219 B
Go
14 lines
219 B
Go
package rocksmq
|
|
|
|
var rmq *RocksMQ
|
|
|
|
func InitRmq(rocksdbName string, idAllocator IDAllocator) error {
|
|
var err error
|
|
rmq, err = NewRocksMQ(rocksdbName, idAllocator)
|
|
return err
|
|
}
|
|
|
|
func GetRmq() *RocksMQ {
|
|
return rmq
|
|
}
|