Skip to content

Commit

Permalink
Fix: api comments (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin authored Jul 25, 2022
1 parent 159ac27 commit 595f2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ func NewTransactionProducer(listener primitive.TransactionListener, opts ...prod
}

type PushConsumer interface {
// Start the PullConsumer for consuming message
// Start the PushConsumer for consuming message
Start() error

// Shutdown the PullConsumer, all offset of MessageQueue will be sync to broker before process exit
// Shutdown the PushConsumer, all offset of MessageQueue will be sync to broker before process exit
Shutdown() error
// Subscribe a topic for consuming
Subscribe(topic string, selector consumer.MessageSelector,
Expand Down

0 comments on commit 595f2d9

Please sign in to comment.