mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip ci]Add comment for rocksmq reader (#13014)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
490f8b50e1
commit
426f73ce07
@ -17,6 +17,7 @@ func (rr *rmqReader) Topic() string {
|
||||
return rr.r.Topic()
|
||||
}
|
||||
|
||||
// Next returns the next message of reader, blocking until a message is available
|
||||
func (rr *rmqReader) Next(ctx context.Context) (Message, error) {
|
||||
rMsg, err := rr.r.Next(ctx)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user