Skip to content

Commit 595f2d9

Browse files
Fix: api comments (#867)
1 parent 159ac27 commit 595f2d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ func NewTransactionProducer(listener primitive.TransactionListener, opts ...prod
5454
}
5555

5656
type PushConsumer interface {
57-
// Start the PullConsumer for consuming message
57+
// Start the PushConsumer for consuming message
5858
Start() error
5959

60-
// Shutdown the PullConsumer, all offset of MessageQueue will be sync to broker before process exit
60+
// Shutdown the PushConsumer, all offset of MessageQueue will be sync to broker before process exit
6161
Shutdown() error
6262
// Subscribe a topic for consuming
6363
Subscribe(topic string, selector consumer.MessageSelector,

0 commit comments

Comments
 (0)