From 3ed8cd56f807ebf658aeba0a78b6566ed7056c9a Mon Sep 17 00:00:00 2001 From: Kunal Gupta <39487888+iamKunalGupta@users.noreply.github.com> Date: Fri, 26 Apr 2024 21:58:32 +0530 Subject: [PATCH] fix: enable support for TLS 1.2 (#1646) - fix for usage with confluent cloud --- flow/connectors/kafka/kafka.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/connectors/kafka/kafka.go b/flow/connectors/kafka/kafka.go index d02bb94ab7..30b370e51e 100644 --- a/flow/connectors/kafka/kafka.go +++ b/flow/connectors/kafka/kafka.go @@ -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":