Skip to content

Commit

Permalink
fix the bug caused in HA cluster in consumer (#723)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4065610)
  • Loading branch information
guyinyou authored and ShannonDing committed Sep 10, 2021
1 parent 29d789e commit a70cf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer/push_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func NewPushConsumer(opts ...Option) (*pushConsumer, error) {
if err != nil {
return nil, err
}

dc.namesrv = dc.option.ClientOptions.Namesrv
p := &pushConsumer{
defaultConsumer: dc,
subscribedTopic: make(map[string]string, 0),
Expand Down

0 comments on commit a70cf55

Please sign in to comment.