Skip to content

Commit

Permalink
fix typo: PullConsumer -> PushConsumer in Introduction.md (#1166)
Browse files Browse the repository at this point in the history
Fix the error description under PushConsumer interface
  • Loading branch information
yixiak authored Oct 8, 2024
1 parent 0e45179 commit 3e6b910
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 3e6b910

Please sign in to comment.