philipnee commented on PR #14842:
URL: https://github.com/apache/kafka/pull/14842#issuecomment-1828686697

   Hi @lucasbru - I just opened the PR for you to review.  I'm not 100% happy 
with the way tests are setup therefore I made some changes around optionally 
disabling autocommit in the network thread.  Also, I feel the tests here kind 
of become some sort of integration testing.  I thought it kind of against the 
unit test philosophy.  In summary, the changes are:
   1. We will only auto commit if the configuration is enabled (by default) or 
if we've got anything to commit at all
   2. We need to enforce finding a coordinator and send an autocommit 
regardless of the previous commit state because we need to make sure to record 
the progress before closing
   3. Quite a bit of changes to the testing, because autocommit depends on the 
current progress, so I need to "seek" for some cases to ensure the test sends 
an autocommit
   
   LMK what do you think!


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