vamossagar12 commented on PR #13801:
URL: https://github.com/apache/kafka/pull/13801#issuecomment-2076983151

   Thanks Chris! I ran through the scenarios in the test and I can see that it 
handles the cases correctly. Regarding, `cancel` I don't see the future 
returned from `set` being cancelled explicitly so we can live w/o 
implementations of `cancel` and `isCancelled`. 
   Also, I have now updated the tests so that I control when should a record be 
returned, throw and error or a timeout. `MockProducer` provided some great 
hooks to do the same. I added a couple of more tests which even test the 
timeout scenario and the tests throw a timeout until all futures return 
promptly (error or o/w). Let me know how this is looking now. Thanks!


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