fix: kafka tls config
This commit is contained in:
@ -2,7 +2,6 @@ package kafka
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"errors"
|
||||
"time"
|
||||
|
||||
@ -34,7 +33,7 @@ Retry:
|
||||
Async: false,
|
||||
Transport: &kfkgo.Transport{
|
||||
DialTimeout: 30 * time.Second,
|
||||
TLS: &tls.Config{InsecureSkipVerify: true}, // todo
|
||||
TLS: c.tls, // todo
|
||||
SASL: c.mechanism,
|
||||
Context: c.ctx,
|
||||
},
|
||||
|
Reference in New Issue
Block a user