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

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-28 18:52:08 +08:00 committed by GitHub
parent 025fff0bbb
commit c61bcdf40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,7 @@ func (pc *pulsarClient) Subscribe(options ConsumerOptions) (Consumer, error) {
return pConsumer, nil
}
// EarliestMessageID returns the earliest message id
func (pc *pulsarClient) EarliestMessageID() MessageID {
msgID := pulsar.EarliestMessageID()
return &pulsarID{messageID: msgID}