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

   correct the default value don't make sure the retry can always happen. 
   
   For example: There are possible two timeout (2 * 60s) happen
   [2025-06-03 21:57:21,151] INFO Topic __remote_log_metadata does not exist. 
Error: Timed out waiting for a node assignment. Call: listNodes at
   [2025-06-03 21:58:21,153] ERROR Encountered error while creating 
__remote_log_metadata topic. java.util.concurrent.ExecutionException: 
org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node 
assignment. Call: createTopics at
   
   And the default 2 minutes is very small so that it won't happen any retry at 
this cases. At the sometimes. this configure request the server must be ready 
within 2 minutes. Not every broker can reach this requirement.
   
   So submit the change to increase the default value to 5 minutes.
   


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