Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Mention that we have recommended binaries built with Scala 2.11 since Kafka 0.9.0.0.

...

Scala 2.10 was released in March 2013 (support ended in March 2015, almost 2 years ago), 2.11 was released in April 2014 and 2.12 was released in November 2016. A reasonable policy is to support the 2 most recently released versions so that we can strike a good balance between supporting older versions, maintainability and taking advantage of language and library improvements. Furthermore, since the recommended clients (producer and consumer) are now pure Java, this should mostly affect the broker and tools where support for older Scala versions matters less.

In our downloads page, we have recommended the Kafka binaries built with Scala 2.11 since Kafka 0.9.0.0.

Moving to 2.11 as the minimum requirement would allow us to benefit from faster Map implementations like LongMap and AnyRefMap, improved compiler warnings for potential bugs, faster compilation and the ability to use libraries that are only available for Scala 2.11 and above (an example is scala-logging, which improves upon our Logging trait by not creating closures or affecting stacktraces/log line information). See the announcement for the full list of improvements.

...