message.format.version — Kafka topic Configuration
[DEPRECATED] Specify the message format version the broker will use to append messages to the logs. The value of this config is always assumed to be `3.
Description
[DEPRECATED] Specify the message format version the broker will use to append messages to the logs. The value of this config is always assumed to be `3.0` if `inter.broker.protocol.version` is 3.0 or higher (the actual config value is ignored). Otherwise, the value should be a valid ApiVersion. Some examples are: 0.10.0, 1.1, 2.8, 3.0. By setting a particular message format version, the user is certifying that all the existing messages on disk are smaller or equal than the specified version. Setting this value incorrectly will cause consumers with older versions to break as they will receive messages with a format that they don't understand.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.11.0 | 0.11.0-IV2 |
| 1.0 | 1.0-IV0 |
| 1.1 | 1.1-IV0 |
| 2.0 | 2.0-IV1 |
| 2.1 | 2.1-IV2 |
| 2.2 | 2.2-IV1 |
| 2.3 | 2.3-IV1 |
| 2.4 | 2.4-IV1 |
| 2.5 | 2.5-IV0 |
| 2.6 | 2.6-IV0 |
| 2.7 | 2.7-IV2 |
| 2.8 | 2.8-IV1 |
| 3.0 | 3.0-IV1 |
| 3.1 | 3.0-IV1 |
| 3.2 | 3.0-IV1 |
| 3.3 | 3.0-IV1 |
| 3.4 | 3.0-IV1 |
| 3.5 | 3.0-IV1 |
| 3.6 | 3.0-IV1 |
| 3.7 | 3.0-IV1 |
| 3.8 | 3.0-IV1 |
| 3.9 | 3.0-IV1 |