enable TLS
This commit is contained in:
@@ -20,7 +20,7 @@ func GetSyncProducerConfig(kafkaConfiguration config.KafkaConfigurations) *saram
|
||||
config := sarama.NewConfig()
|
||||
|
||||
// security configs
|
||||
// config.Net.TLS.Enable = true
|
||||
config.Net.TLS.Enable = true
|
||||
// config.Net.SASL.Enable = true
|
||||
// config.Net.SASL.Handshake = true
|
||||
// config.Net.SASL.Mechanism = sarama.SASLTypePlaintext
|
||||
@@ -45,7 +45,7 @@ func GetAsyncProducerConfig(kafkaConfiguration config.KafkaConfigurations) *sara
|
||||
config := sarama.NewConfig()
|
||||
|
||||
// security configs
|
||||
// config.Net.TLS.Enable = true
|
||||
config.Net.TLS.Enable = true
|
||||
// config.Net.SASL.Enable = true
|
||||
// config.Net.SASL.Handshake = true
|
||||
// config.Net.SASL.Mechanism = sarama.SASLTypePlaintext
|
||||
|
||||
Reference in New Issue
Block a user