mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci]Add comment for rocksmq reader (#12895)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
4c7c4226f5
commit
43eece5545
@ -55,6 +55,7 @@ func (r *reader) Topic() string {
|
||||
return r.topic
|
||||
}
|
||||
|
||||
// Next return the next message of reader, blocking until a message is available
|
||||
func (r *reader) Next(ctx context.Context) (Message, error) {
|
||||
cMsg, err := r.c.server.Next(ctx, r.topic, r.name, r.startMessageIDInclusive)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user