Skip to content

Commit 170c252

Browse files
authored
Merge pull request #62 from ialeksandrov/fix-connection-helper
Fixing really annoying bug.
2 parents 03d8c6d + 58db050 commit 170c252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/connection_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func saramaClientConfig(opts *options.Options) *sarama.Config {
7676
case sarama.SASLTypeGSSAPI:
7777
clientConfig.Net.SASL.Mechanism = sarama.SASLTypeGSSAPI
7878
switch opts.SASLGSSAPIAuthType {
79-
case "USER_AUTH:":
79+
case "USER_AUTH":
8080
clientConfig.Net.SASL.GSSAPI.AuthType = sarama.KRB5_USER_AUTH
8181
case "KEYTAB_AUTH":
8282
clientConfig.Net.SASL.GSSAPI.AuthType = sarama.KRB5_KEYTAB_AUTH

0 commit comments

Comments
 (0)