fix broker implementation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
4c519a79be
commit
0795ba37c3
@ -100,6 +100,10 @@ func (k *kBroker) Address() string {
|
||||
return "127.0.0.1:9092"
|
||||
}
|
||||
|
||||
func (k *kBroker) Name() string {
|
||||
return k.opts.Name
|
||||
}
|
||||
|
||||
func (k *kBroker) Connect(ctx context.Context) error {
|
||||
k.RLock()
|
||||
if k.connected {
|
||||
|
Loading…
Reference in New Issue
Block a user