Skip to content

Commit

Permalink
Add support for kafka 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bai committed Apr 15, 2020
1 parent 6159078 commit a24e7e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ var (
V2_2_0_0 = newKafkaVersion(2, 2, 0, 0)
V2_3_0_0 = newKafkaVersion(2, 3, 0, 0)
V2_4_0_0 = newKafkaVersion(2, 4, 0, 0)
V2_5_0_0 = newKafkaVersion(2, 5, 0, 0)

SupportedVersions = []KafkaVersion{
V0_8_2_0,
Expand All @@ -185,9 +186,10 @@ var (
V2_2_0_0,
V2_3_0_0,
V2_4_0_0,
V2_5_0_0,
}
MinVersion = V0_8_2_0
MaxVersion = V2_4_0_0
MaxVersion = V2_5_0_0
)

//ParseKafkaVersion parses and returns kafka version or error from a string
Expand Down

0 comments on commit a24e7e7

Please sign in to comment.