squah-confluent commented on PR #18144:
URL: https://github.com/apache/kafka/pull/18144#issuecomment-2544506660

   > I wonder if we could update the flush method to ignore empty batches. If 
we do this, we should also update at L928 to only add the current event to the 
deferred events of the batch only if the batch is not null and not empty. Would 
it work?
   
   Sounds reasonable! I gave that a try. I also figured out a way to test the 
change.


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