Skip to content

Commit 0eb0161

Browse files
committed
Add Kafka 3.1.0 version number
1 parent 31d757b commit 0eb0161

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ You might also want to look at the [Frequently Asked Questions](https://github.c
1818

1919
Sarama provides a "2 releases + 2 months" compatibility guarantee: we support
2020
the two latest stable releases of Kafka and Go, and we provide a two month
21-
grace period for older releases. This means we currently officially support
22-
Go 1.16.x/1.17.x, and Kafka 2.8.x through 3.0.x, although older releases of
23-
Kafka are still likely to work.
21+
grace period for older releases. However, older releases of Kafka are still likely to work.
2422

2523
Sarama follows semantic versioning and provides API stability via the gopkg.in service.
2624
You can import a version with a guaranteed stable API via http://gopkg.in/Shopify/sarama.v1.

dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: sarama
22

33
up:
44
- go:
5-
version: '1.17.1'
5+
version: '1.17.6'
66

77
commands:
88
test:

utils.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ var (
178178
V2_8_0_0 = newKafkaVersion(2, 8, 0, 0)
179179
V2_8_1_0 = newKafkaVersion(2, 8, 1, 0)
180180
V3_0_0_0 = newKafkaVersion(3, 0, 0, 0)
181+
V3_1_0_0 = newKafkaVersion(3, 1, 0, 0)
181182

182183
SupportedVersions = []KafkaVersion{
183184
V0_8_2_0,
@@ -221,9 +222,10 @@ var (
221222
V2_8_0_0,
222223
V2_8_1_0,
223224
V3_0_0_0,
225+
V3_1_0_0,
224226
}
225227
MinVersion = V0_8_2_0
226-
MaxVersion = V3_0_0_0
228+
MaxVersion = V3_1_0_0
227229
DefaultVersion = V1_0_0_0
228230
)
229231

0 commit comments

Comments
 (0)