-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Go 1.13 #1478
Add support for Go 1.13 #1478
Conversation
@@ -1,5 +1,7 @@ | |||
module github.com/Shopify/sarama | |||
|
|||
go 1.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@varun06 I'm not 100% this is needed (this line added by go mod
), do you know if it's something that will break 1.11/1.12 compatibility?
According to https://golang.org/doc/go1.13 it shouldn't but 🤔:
If your code uses modules and your go.mod files specifies a language version, be sure it is set to at least 1.13 to get access to these language changes. You can do this by editing the go.mod file directly, or you can run go mod edit -go=1.13.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I treat it like a ceiling for go features. So it shouldn't impact anything with backward compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 LGTM
|
||
Sarama provides a "2 releases + 2 months" compatibility guarantee: we support | ||
the two latest stable releases of Kafka and Go, and we provide a two month | ||
grace period for older releases. This means we currently officially support | ||
Go 1.11 through 1.12, and Kafka 2.0 through 2.3, although older releases are | ||
Go 1.11 through 1.13, and Kafka 2.1 through 2.3, although older releases are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this compatibility matrix important?
are we even following it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add support for Go 1.13 and remove Kafka 2.1 from build matrix according to 2 releases + 2 months schedule.