cmccabe opened a new pull request, #12467:
URL: https://github.com/apache/kafka/pull/12467

   KRaft should validate that manual assignments given to createTopics are 
contiguous. In other words,
   they must start with partition 0, and progress through 1, 2, 3, etc. ZK mode 
does this, but KRaft
   mode previously did not. Also fix a null pointer exception when the 
placement for partition 0
   was not specified.
   
   Convert over AddPartitionsTest to use KRaft. This PR converts all of the 
test except for some of
   the placement logic tests, which will need to be redone for KRaft mode in a 
future change.
   
   Fix null pointer exception in KRaftMetadataCache#getPartitionInfo.  
Specifically, we should not
   assume that the partition will be found in the hash map. This is another 
case where we had
   "Some(x)" but it should be "Option(x)."
   
   BrokerLifecycleManager should be initialized in the constructor of 
BrokerServer. Otherwise there
   will be a null pointer exception if BrokerServer#brokerState is called prior 
to BrokerServer#start.


-- 
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]

Reply via email to