jolshan commented on pull request #11331:
URL: https://github.com/apache/kafka/pull/11331#issuecomment-933821031


   @ijuma 
   > Thanks for the PR. A high-level question, what are we trying to optimize 
for here?
   >Requests that don't include topic ids
   Requests that include topic ids
   Both
   Some kind of balance of both where we compromise a bit to keep the code 
maintainable
   
   The goal of this PR is to gracefully handle the new topic case. Currently in 
kafka, when we create a new topic, the leader and Isr request is sent first, 
then the update metadata request. This means that we will often encounter 
transient "unknown_topic_id" errors. In the new world of topic IDs, we will see 
this as "unknown topic ID" errors. The current logic returns a top level error 
and delays all partitions. This is a regression from previous behavior, and so 
this PR's goal is to return to the behavior where we store the unknown 
partition in the session until it can be resolved. See 
https://issues.apache.org/jira/browse/KAFKA-13111 for more information.
   
   


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