jolshan opened a new pull request #10492:
URL: https://github.com/apache/kafka/pull/10492


   KIP-516 introduces topic IDs to topics, but there is a small issue with how 
the metadata topic will interact with topic IDs. 
   
   For example, https://github.com/apache/kafka/pull/9944 aims to replace topic 
names in the Fetch request with topic IDs. In order to get these IDs, brokers 
must fetch from the metadata topic. This leads to a sort of "chicken and the 
egg" problem concerning how we find out the metadata topic's topic ID. 
   
   One solution proposed in KIP-516 was to introduce a "sentinel ID" for the 
metadata topic. This is a reserved ID for the metadata topic only.  This PR 
adds the sentinel ID when creating the metadata log.
   More information can be found in the 
[JIRA](https://issues.apache.org/jira/browse/KAFKA-12457) and in 
[KIP-516](https://cwiki.apache.org/confluence/display/KAFKA/KIP-516%3A+Topic+Identifiers)
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] 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.

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


Reply via email to