You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/09/20 03:51:00 UTC
[jira] [Created] (KAFKA-21128) upgrade-guide.md could use more general version in describing upgrade path
Chia-Ping Tsai created KAFKA-21128:
--------------------------------------
Summary: upgrade-guide.md could use more general version in describing upgrade path
Key: KAFKA-21128
URL: https://issues.apache.org/jira/browse/KAFKA-21128
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
{code:java}
# Upgrade Guide and API ChangesUpgrading from any older version to 4.3.0 is possible: if upgrading from 3.4 or below, you will need to do two rolling bounces, where during the first rolling bounce phase you set the config `upgrade.from="older version"` (possible values are `"2.4" - "3.4"`) and during the second you remove it. This is required to safely handle 2 changes. The first is a change in foreign-key join serialization format. The second is a change in the serialization format for an internal repartition topic. For more details, please refer to [KIP-904](https://cwiki.apache.org/confluence/x/P5VbDg): * prepare your application instances for a rolling bounce and make sure that config `upgrade.from` is set to the version from which it is being upgrade.
* bounce each instance of your application once
* prepare your newly deployed 4.3.0 application instances for a second round of rolling bounces; make sure to remove the value for config `upgrade.from`
* bounce each instance of your application once more to complete the upgrade As an alternative, an offline upgrade is also possible. Upgrading from any versions as old as 0.11.0.x to 4.3.0 in offline mode require the following steps: * stop all old (e.g., 0.11.0.x) application instances
* update your code and swap old code and jar file with new code and new jar file
* restart all new (4.3.0) application instances {code}
I think (and hope) this description applies to all 4.3+ versions. If yes, we could replace "4.3.0" with "the current release". Otherwise, it looks like 4.4.0 has some issues during upgrade.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)