Skip to content

Commit

Permalink
fix typo: PullConsumer -> PushConsumer
Browse files Browse the repository at this point in the history
Fix the error description under PushConsumer interface
  • Loading branch information
yixiak committed Sep 17, 2024
1 parent 7789818 commit 4a53673
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ now only support `PushConsumer`
#### Interface
```
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 Expand Up @@ -127,4 +127,4 @@ err = testAdmin.DeleteTopic(
//admin.WithBrokerAddrDelete("127.0.0.1:10911"), //optional
//admin.WithNameSrvAddr(nameSrvAddr), //optional
)
```
```

0 comments on commit 4a53673

Please sign in to comment.