1
kgo.go
1
kgo.go
@@ -404,6 +404,7 @@ func (k *Broker) Subscribe(ctx context.Context, topic string, handler broker.Han
|
|||||||
consumers: make(map[tp]*consumer),
|
consumers: make(map[tp]*consumer),
|
||||||
done: make(chan struct{}),
|
done: make(chan struct{}),
|
||||||
fatalOnError: fatalOnError,
|
fatalOnError: fatalOnError,
|
||||||
|
connected: k.connected,
|
||||||
}
|
}
|
||||||
|
|
||||||
kopts := append(k.kopts,
|
kopts := append(k.kopts,
|
||||||
|
Reference in New Issue
Block a user