You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "FrankYang0529 (via GitHub)" <gi...@apache.org> on 2024/07/30 12:42:29 UTC

[PR] KAFKA-17203: StreamThread leaking producer instances [kafka]

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

   In test like `EosIntegrationTest.shouldCheckpointRestoredOffsetsWhenClosingCleanDuringRestoringStateUpdaterEnabled`, the task may throw `TaskCorruptedException`. After rebalancing, if some pending tasks need to be drained, the `TaskManager` should use `activeTaskCreator.closeAndRemoveTaskProducerIfNeeded(task.id());` to close producer as well, or there may have producer thread leak.
   
   ### 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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17203: StreamThread leaking producer instances [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on PR #16730:
URL: https://github.com/apache/kafka/pull/16730#issuecomment-2813614234

   @mjsax thanks for reporting.  I will take a look at #19507


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17203: StreamThread leaking producer instances [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #16730:
URL: https://github.com/apache/kafka/pull/16730#issuecomment-2813574020

   Just an FYI: this PR introduced a regression bug
   
   https://issues.apache.org/jira/browse/KAFKA-19171


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17203: StreamThread leaking producer instances [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #16730:
URL: https://github.com/apache/kafka/pull/16730


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org