From 5702494efe883e70166ca8ef2f6a4ff3911ac606 Mon Sep 17 00:00:00 2001 From: yukun Date: Fri, 3 Dec 2021 20:33:50 +0800 Subject: [PATCH] [skip ci]Add comment for rocksmq reader (#12731) Signed-off-by: fishpenguin --- internal/util/rocksmq/server/rocksmq/rocksmq_impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go b/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go index 706d7fdc66..32157c7aeb 100644 --- a/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go +++ b/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go @@ -1067,6 +1067,7 @@ func (rmq *rocksmq) HasNext(topicName string, readerName string, messageIDInclus return reader.HasNext(messageIDInclusive) } +// CloseReader close a reader func (rmq *rocksmq) CloseReader(topicName string, readerName string) { if rmq.isClosed() { return