Skip to content

Commit

Permalink
Add support for Kafka 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bai committed May 30, 2018
1 parent fecab1e commit 1f3726a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[constraint]]
name = "github.com/Shopify/sarama"
version = "1.15.0"
version = "1.16.0"

[[constraint]]
name = "go.uber.org/zap"
Expand Down
2 changes: 2 additions & 0 deletions core/internal/helpers/sarama.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ func parseKafkaVersion(kafkaVersion string) sarama.KafkaVersion {
return sarama.V0_11_0_0
case "1.0.0":
return sarama.V1_0_0_0
case "1.1.0":
return sarama.V1_1_0_0
default:
panic("Unknown Kafka Version: " + kafkaVersion)
}
Expand Down

0 comments on commit 1f3726a

Please sign in to comment.