Skip to content

Commit 300c4e6

Browse files
committed
Add fix for SSL Bug
1 parent 37ef3c4 commit 300c4e6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/go/cmd/strelka-frontend/main.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,12 @@ func main() {
291291
if !*locallog && *kafkalog {
292292
log.Printf("Creating new Kafka producer.")
293293
p, err := kafka.NewProducer(&kafka.ConfigMap{
294-
"bootstrap.servers": conf.Broker.Bootstrap,
295-
"security.protocol": conf.Broker.Protocol,
296-
"ssl.certificate.location": conf.Broker.Certlocation,
297-
"ssl.key.location": conf.Broker.Keylocation,
298-
"ssl.ca.location": conf.Broker.Calocation,
294+
"bootstrap.servers": conf.Broker.Bootstrap,
295+
"security.protocol": conf.Broker.Protocol,
296+
"ssl.certificate.location": conf.Broker.Certlocation,
297+
"ssl.key.location": conf.Broker.Keylocation,
298+
"ssl.ca.location": conf.Broker.Calocation,
299+
"ssl.endpoint.identification.algorithm": "none",
299300
})
300301
if err != nil {
301302
log.Fatalf("FAILED TO CREATE KAFKA PRODUCER: ERROR %v", err)

0 commit comments

Comments
 (0)