jeffkbkim opened a new pull request, #15902:
URL: https://github.com/apache/kafka/pull/15902

   write events create and add a TimerTask to schedule the timeout operation. 
The issue is that we pile up the number of timer tasks which are essentially 
no-ops if replication was successful. They stay in memory for 15 seconds 
(default write timeout) and as the rate of write increases, the impact on 
memory usage increases.
   
   Instead, cancel the corresponding write timeout task when the write event is 
committed to the log. This also applies to complete transaction events.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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