jiafu1115 commented on PR #13320:
URL: https://github.com/apache/kafka/pull/13320#issuecomment-3490334062

   > Hello ! This is a feature I would like to have, actually. I see that the 
PR is marked as stale but do we have a workaround ? I tried using 
`partitionsFor` at the beggining of the application but the first send is still 
taking 500ms, against 5 to 20ms for the following sends. What is the difference 
between that function and the one proposed in that PR exactly ?
   > 
   > To fix that, we are sending a fake record to the topic but I would like to 
avoid doing that.
   
   @AlEmerich sorry for delay response. the PR is fix the metadata waiting. it 
make the send be async instead of sync. it will still take more time due to the 
first connection. thus it can redcue the metadata waiting time.


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

Reply via email to