Skip to content

Commit

Permalink
Add support for Kafka 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bai committed Jan 24, 2022
1 parent 31d757b commit ad89ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: sarama

up:
- go:
version: '1.17.1'
version: '1.17.6'

commands:
test:
Expand Down
4 changes: 3 additions & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ var (
V2_8_0_0 = newKafkaVersion(2, 8, 0, 0)
V2_8_1_0 = newKafkaVersion(2, 8, 1, 0)
V3_0_0_0 = newKafkaVersion(3, 0, 0, 0)
V3_1_0_0 = newKafkaVersion(3, 1, 0, 0)

SupportedVersions = []KafkaVersion{
V0_8_2_0,
Expand Down Expand Up @@ -221,9 +222,10 @@ var (
V2_8_0_0,
V2_8_1_0,
V3_0_0_0,
V3_1_0_0,
}
MinVersion = V0_8_2_0
MaxVersion = V3_0_0_0
MaxVersion = V3_1_0_0
DefaultVersion = V1_0_0_0
)

Expand Down

0 comments on commit ad89ab6

Please sign in to comment.