[skip e2e]Add comment for pulsar producer (#14945)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/14975/head
yukun 2022-01-07 09:51:28 +08:00 committed by GitHub
parent 7b873602c1
commit ae27be637d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ type pulsarProducer struct {
p pulsar.Producer
}
// Topic returns the topic name of pulsar producer
func (pp *pulsarProducer) Topic() string {
return pp.p.Topic()
}