With inter.broker.protocol.version (IPBV) set to 3.0 or higher, the log.message.format.version (LMFV) is ignored. That is why even in our examples, we now configure only the IBPV. However, this leads to unnecessary rolls during upgrades.
For example, when upgrading form Kafka 3.1.0 to 3.2.0 with only the IPBV set in the Kafka CR to 3.1, the following happens:
- The broker is running with both IBPV and LMFV set to 3.1
- Change the Kafka version to 3.2.0
- First roll updates Kafka version to 3.2.0
- Second roll updates the LMFV (which is not set in the Kafka CR) to 3.2
- After user changes the IBPV to 3.2, another roll will follow
The second roll is completely unnecessary and should be avoided.