yx9o opened a new pull request, #20517: URL: https://github.com/apache/kafka/pull/20517
Hi community, currently, the client sets org.apache.kafka.clients.NetworkClient.DefaultMetadataUpdater#inProgress when retrieving metadata. In the event of a successful or failed response, inProgress is set to null. <img width="669" height="953" alt="image" src="https://github.com/user-attachments/assets/0f68db84-8f02-40c8-a499-31a78ff0458f" /> The problem we encountered was: An exception was thrown while processing the MetadataResponse, causing inProgress to not be updated. Metadata requests could not be initiated again, and metadata remained unupdated. <img width="702" height="234" alt="image" src="https://github.com/user-attachments/assets/4a0ad909-cee3-4c0f-9c04-2b0d76506fd5" /> Why did the update fail? maybeUpdate(long now) always returns a default timeout, meaning no new MetadataRequest would be sent until the previous one was complete. -- 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]
