Skip to content

Kafka 0.10.0.1 fails to start, inter.broker.protocol.version is set 0.8.2.2 #113

@atrepca

Description

@atrepca

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 3.7.2
  • Ruby: 2.3.1p112
  • Distribution: Ubuntu 16.04.1 LTS
  • Module version: 2.1.0

How to reproduce (e.g Puppet code you use)

class { '::kafka::broker':
  version => '0.10.0.1',
}

What are you seeing

Kafka fails to start with:

[2016-11-01 14:39:17,668] FATAL  (kafka.Kafka$)
java.lang.IllegalArgumentException: requirement failed: log.message.format.version 0.10.0-IV1 cannot be used when inter.broker.protocol.version is set to 0.8.2.2

What behaviour did you expect instead

Kafka process should start successfully.

Output log

Pasted above.

Any additional information you'd like to impart

This is caused by inter.broker.protocol.version being set to 0.8.2.2 in params.pp on this line. Can go around it by setting the desired version in the ::kafka::broker class, but a better alternative is to set 'inter.broker.protocol.version' => $version, in params.pp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions