Skip to content

Commit a70cf55

Browse files
guyinyouShannonDing
authored andcommitted
fix the bug caused in HA cluster in consumer (#723)
(cherry picked from commit 4065610)
1 parent 29d789e commit a70cf55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumer/push_consumer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func NewPushConsumer(opts ...Option) (*pushConsumer, error) {
106106
if err != nil {
107107
return nil, err
108108
}
109-
109+
dc.namesrv = dc.option.ClientOptions.Namesrv
110110
p := &pushConsumer{
111111
defaultConsumer: dc,
112112
subscribedTopic: make(map[string]string, 0),

0 commit comments

Comments
 (0)