Skip to content

Commit

Permalink
bump new API config.Version to V1_0_0_0 to fix SASL handshake (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
solidgoldbomb authored Feb 15, 2024
1 parent 7b5f9e6 commit e4dd910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func main() {
config.ClientID = "kafka-offset-lag-for-prometheus"
config.Version = sarama.V0_9_0_0
if *enableNewAPI {
config.Version = sarama.V0_10_2_0
config.Version = sarama.V1_0_0_0
}
if *saslUser != "" {
config.Net.SASL.Enable = true
Expand Down

0 comments on commit e4dd910

Please sign in to comment.