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

   Details of the issue is defined in 
https://issues.apache.org/jira/browse/KAFKA-16790
   
   In BrokerServer.scala, brokerMetadataPublishers are configured and when 
there are metadata updates remoteLogManager is not configured by then. 
   Ex  : remoteLogManager.foreach(rlm => 
rlm.onLeadershipChange(partitionsBecomeLeader.asJava, 
partitionsBecomeFollower.asJava, topicIds)) in ReplicaManager is invoked after 
publishers are instantiated, and here rlm has relevant managers configured.
   
   This change makes sure rlm is configured before the brokerMetadataPublishers 
initialization.
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### Committer Checklist (excluded from commit message)
   - [X] Verify design and implementation 
   - [X] Verify test coverage and CI build status
   - [X] Verify documentation (including upgrade notes)
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to