Skip to content

Commit

Permalink
fix: consume type compatible with protocol (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahjdzx authored and wenfengwang committed Jan 15, 2020
1 parent 8f76a40 commit 27e707e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consumer/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const (
type ConsumeType string

const (
_PullConsume = ConsumeType("pull")
_PushConsume = ConsumeType("push")
_PullConsume = ConsumeType("CONSUME_ACTIVELY")
_PushConsume = ConsumeType("CONSUME_PASSIVELY")

_SubAll = "*"
)
Expand Down

0 comments on commit 27e707e

Please sign in to comment.