bloomberg-cookbooks / kafka

A set of Chef recipes for installing and configuring Apache Kafka.
Apache License 2.0
37 stars 26 forks source link

The kafka_service library is hard coded to use the Scala 2.10 binary, which breaks when using the newest kafka 1.0.0 #23

Closed jcookfastrobot closed 6 years ago

jcookfastrobot commented 6 years ago

In https://github.com/bloomberg/kafka-cookbook/blob/master/libraries/kafka_service.rb#L71, the version of Scala should also be a variable and not hard coded to 2.10. The newest version of Kafka 1.0.0 only has 2.11 and 2.12. This hardcoded value results in an invalid path for the ExecStart and WorkingDirectory properties in the systemd service.

jquinn47 commented 6 years ago

I'm assuming https://github.com/bloomberg/kafka-cookbook/pull/24/files was entered to fix this.

The change caused our current cluster to break down as systemd scripts were changed for a version of scala that didn't exist. I'd agree with @jcookfastrobot that the version should be variable (likely an attribute).

We're pinned against 1.3.8 as temporary fix but that's obviously not ideal :)

johnbellone commented 6 years ago

This is fixed in master and will be released.