[skip ci]Add comments for rmq client method (#9423)

Signed-off-by: yukun <kun.yu@zilliz.com>
pull/9425/head
yukun 2021-10-07 21:18:52 +08:00 committed by GitHub
parent d793be550b
commit 3dcfff3a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ func (rc *rmqClient) Subscribe(options ConsumerOptions) (Consumer, error) {
return rConsumer, nil
}
// EarliestMessageID returns the earliest message ID for rmq client
func (rc *rmqClient) EarliestMessageID() MessageID {
rID := rocksmq.EarliestMessageID()
return &rmqID{messageID: rID}