[skip ci]Add rmq client comments (#11271)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/11282/head
yukun 2021-11-04 20:49:20 +08:00 committed by GitHub
parent 7eca7aec13
commit 872f6f8a04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ func (rc *rmqClient) StringToMsgID(id string) (MessageID, error) {
return &rmqID{messageID: rID}, nil
}
// BytesToMsgID converts a byte array to messageID
func (rc *rmqClient) BytesToMsgID(id []byte) (MessageID, error) {
rID, err := DeserializeRmqID(id)
if err != nil {