Divs
Divs

Reputation: 1618

Find out Kafka Message version

the default server.properties on 0.10.1.1 Broker doesn't define the log.message.format.version explicitly. Even though it is supposed to be same Kafka API Version; is there a way to find it out?

Upvotes: 1

Views: 5058

Answers (1)

Mickael Maison
Mickael Maison

Reputation: 26885

If it's not defined explicitely in the broker properties file, then log.message.format.version will match the broker version.

You can see that from the configuration documentation for each release. For example for 0.10.1.1, it is 0.10.1-IV2 according to the 0.10.1 docs.

One way to double check is to look at the broker logs. When starting up, brokers dump their configuration including settings that have not be overriden in the properties file.

That should include log.message.format.version=0.10.1-IV2 in your case.

Upvotes: 1

Related Questions