Details
Description
In migration mode, ZK brokers will have a forwarding manager configured. This is used to forward requests to the KRaft controller once we get to that part of the migration. However, prior to KRaft taking over as the controller (known as pre-migration mode), the ZK brokers are still attempting to forward IncrementalAlterConfigs to the controller.
This works fine for cluster level configs (e.g., "-entity-type broker --entity-default"), but this fails for specific broker configs (e.g., "-entity-type broker --entity-id 1").
This affects BROKER and BROKER_LOGGER config types.
To workaround this bug, you can either disable migrations on the brokers (assuming no migration has taken place), or proceed with the migration and get to the point where KRaft is the controller.