mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Support SASL Protocol of Kafka (#1092)
* Support SASL Protocol of Kafka * Add comments * Fix Unused parameter detected in function RVV-B0012
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ type KafkaInput struct {
|
||||
}
|
||||
|
||||
// NewKafkaInput creates instance of kafka consumer client with TLS config
|
||||
func NewKafkaInput(address string, config *InputKafkaConfig, tlsConfig *KafkaTLSConfig) *KafkaInput {
|
||||
c := NewKafkaConfig(tlsConfig)
|
||||
func NewKafkaInput(_ string, config *InputKafkaConfig, tlsConfig *KafkaTLSConfig) *KafkaInput {
|
||||
c := NewKafkaConfig(&config.SASLConfig, tlsConfig)
|
||||
|
||||
var con sarama.Consumer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user