- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for initScramClient (0.1 sec)
-
internal/event/target/kafka_scram_client_contrib.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 09 04:04:01 UTC 2023 - 3.2K bytes - Viewed (0) -
internal/logger/target/kafka/kafka_scram_client_contrib.go
package kafka import ( "crypto/sha512" "strings" "github.com/IBM/sarama" "github.com/xdg/scram" "github.com/minio/minio/internal/hash/sha256" ) func initScramClient(cfg Config, config *sarama.Config) { switch strings.ToLower(cfg.SASL.Mechanism) { case "sha512": config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 09 04:04:01 UTC 2023 - 3.3K bytes - Viewed (0)