unknowntpo opened a new pull request, #23858: URL: https://github.com/apache/kafka/pull/23858
When adding partitions, the KRaft controller takes the replication factor from the first partition returned by iterating the topic's partitions. This order depends on the hash layout, so it is not always partition 0. This patch uses partition 0, like the ZooKeeper-based broker did. This also applies to manual assignments: their replica count is now checked against partition 0's replication factor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
