Skip to content

Commit

Permalink
Merge pull request #62 from ialeksandrov/fix-connection-helper
Browse files Browse the repository at this point in the history
Fixing really annoying bug.
  • Loading branch information
weeco authored Sep 18, 2020
2 parents 03d8c6d + 58db050 commit 170c252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/connection_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func saramaClientConfig(opts *options.Options) *sarama.Config {
case sarama.SASLTypeGSSAPI:
clientConfig.Net.SASL.Mechanism = sarama.SASLTypeGSSAPI
switch opts.SASLGSSAPIAuthType {
case "USER_AUTH:":
case "USER_AUTH":
clientConfig.Net.SASL.GSSAPI.AuthType = sarama.KRB5_USER_AUTH
case "KEYTAB_AUTH":
clientConfig.Net.SASL.GSSAPI.AuthType = sarama.KRB5_KEYTAB_AUTH
Expand Down

0 comments on commit 170c252

Please sign in to comment.