Skip to content

Commit

Permalink
Issue 10: EOF error when sending messages to Confluent Cloud (#11)
Browse files Browse the repository at this point in the history
* issue-10: EOF error when sending messages to Confluent Cloud
  • Loading branch information
fmck3516 authored Jun 28, 2021
1 parent c35da2d commit 45ce492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package kafka

import (
"crypto/tls"
"encoding/json"
"time"

Expand Down Expand Up @@ -35,6 +36,7 @@ func getDialer(creds *Credentials) (dialer *kafkago.Dialer) {
dialer = &kafkago.Dialer{
Timeout: 10 * time.Second,
DualStack: true,
TLS: &tls.Config{},
}

if creds.Algorithm == Plain {
Expand Down

0 comments on commit 45ce492

Please sign in to comment.