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

   This change removes the onTopicsDeleted method from the ShareCoordinator 
interface and moves its functionality into onMetadataUpdate, following the same 
pattern used for GroupCoordinator (commit 2f90af70ee).
   
   The topic deletion cleanup is now triggered automatically when 
onMetadataUpdate detects deleted topics in the metadata delta, rather than 
requiring a separate call from BrokerMetadataPublisher.
   
   Changes:
   - Remove onTopicsDeleted from ShareCoordinator interface
   - Move cleanup logic into onMetadataUpdate via handleTopicsDeletion
   - Remove the onTopicsDeleted call from BrokerMetadataPublisher
   - Update tests to verify topic deletion handling in onMetadataUpdate
   - Add org.apache.kafka.common.metadata to share-coordinator import control 
to allow RemoveTopicRecord usage in tests
   


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