Re: [PR] KAFKA-16395: Producer should refresh metadata when a request is cancelled due to request timeout [kafka]

2024-03-20 Thread via GitHub
splett2 closed pull request #15565: KAFKA-16395: Producer should refresh metadata when a request is cancelled due to request timeout URL: https://github.com/apache/kafka/pull/15565 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] KAFKA-16395: Producer should refresh metadata when a request is cancelled due to request timeout [kafka]

2024-03-20 Thread via GitHub
splett2 commented on PR #15565: URL: https://github.com/apache/kafka/pull/15565#issuecomment-2010669973 I took a closer look and I am pretty sure that my repro is incorrect. I think the network client was behaving correctly based on my reading of the code from KAFKA-14317, but perhaps it

Re: [PR] KAFKA-16395: Producer should refresh metadata when a request is cancelled due to request timeout [kafka]

2024-03-20 Thread via GitHub
ijuma commented on code in PR #15565: URL: https://github.com/apache/kafka/pull/15565#discussion_r1532671434 ## clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java: ## @@ -586,7 +586,7 @@ private void handleProduceResponse(ClientResponse response, Map

[PR] KAFKA-16395: Producer should refresh metadata when a request is cancelled due to request timeout [kafka]

2024-03-20 Thread via GitHub
splett2 opened a new pull request, #15565: URL: https://github.com/apache/kafka/pull/15565 ### What On a client-side triggered request timeout (the client did not receive a response from the server in a timely manner), the client needs to refresh metadata. This requires the partition