I have installed Cloudera 3.0.0 so I have Apache Kafka version 0.11.0. I want to do a rolling upgrade from 0.11.0 to 1.0.0. I have read the documentation and I follow the next instructions:
- Repeat for each broker:
1.1.shut down the broker
1.2.update the code
1.2.1.Add to server.properties:
inter.broker.protocol.version = 0.11.0
1.3 Restart the broker
Bump the protocol version in each server setting:
inter.broker.protocol.version = 1.0
Restart the brokers one by one.
When I do the step 3 I obtain the following error:
java.lang.IllegalArgumentException: Version `1.0` is not a valid version
at kafka.api.ApiVersion$.$anonfun$apply$1(ApiVersion.scala:79)
at scala.collection.MapLike.getOrElse(MapLike.scala:128)
at scala.collection.MapLike.getOrElse$(MapLike.scala:126)
at scala.collection.AbstractMap.getOrElse(Map.scala:59)
at kafka.api.ApiVersion$.apply(ApiVersion.scala:79)
at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:994)
at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:867)
at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:864)
at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:28)
at kafka.Kafka$.main(Kafka.scala:58)
at kafka.Kafka.main(Kafka.scala)
Then, I tried writing:
inter.broker.protocol.version=1.0.0
inter.broker.protocol.version=1.0-IV0
But I obtain the same error. Why this is happening?