Hi all,

I would like to share a few recent changes that should make the development
experience a little better:

1. Warning free builds for Scala. We have had this when it comes to Java
code for some time and with Scala 2.13.2's support for warning suppression,
we can finally have it for Scala too.
2. Switched to the Scala 2.13 build by default. The main motivation is that
it's a requirement for warning free builds. Scala 2.12 is still supported
and we validate with it in pull requests and trunk/release branch builds.
3. Use the `-release 8` flag with Scala (we have been doing it with Java
for a while) so that the compilation output is independent of the JDK used
to build (i.e. you can build with Java 8, 11 or 14 and the compilation
output is the same). A bug fix included in Gradle 6.4 unblocked our usage
of this flag.

See the following PRs for more information:
* https://github.com/apache/kafka/pull/8537
* https://github.com/apache/kafka/pull/8429
* https://github.com/apache/kafka/pull/8538

Let me know if you have any questions or if you run into any issues.

Ismael

Reply via email to