Skip to content

Commit

Permalink
fix: enable support for TLS 1.2 (#1646)
Browse files Browse the repository at this point in the history
- fix for usage with confluent cloud
  • Loading branch information
iamKunalGupta authored Apr 26, 2024
1 parent c85feb6 commit 3ed8cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func NewKafkaConnector(
kgo.SoftwareNameAndVersion("peerdb", peerdbenv.PeerDBVersionShaShort()),
)
if !config.DisableTls {
optionalOpts = append(optionalOpts, kgo.DialTLSConfig(&tls.Config{MinVersion: tls.VersionTLS13}))
optionalOpts = append(optionalOpts, kgo.DialTLSConfig(&tls.Config{MinVersion: tls.VersionTLS12}))
}
switch config.Partitioner {
case "LeastBackup":
Expand Down

0 comments on commit 3ed8cd5

Please sign in to comment.