[skip e2e]Add comment for pulsar client (#14361)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/14381/head
yukun 2021-12-28 09:36:13 +08:00 committed by GitHub
parent 20cc6843a4
commit bb86ab33ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ func (pc *pulsarClient) EarliestMessageID() MessageID {
return &pulsarID{messageID: msgID}
}
// StringToMsgID converts the string id to MessageID type
func (pc *pulsarClient) StringToMsgID(id string) (MessageID, error) {
pID, err := StringToPulsarMsgID(id)
if err != nil {