You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Asthenia0412 (via GitHub)" <gi...@apache.org> on 2026/09/26 06:40:32 UTC

[PR] [Fix][Connector-V2][Kafka] Use connector classloader in committer [seatunnel]

Asthenia0412 opened a new pull request, #12485:
URL: https://github.com/apache/seatunnel/pull/12485

   ## Purpose\nFixes #9899. Kafka sink commit and abort run on the engine thread, whose context classloader may not be able to load Kafka serializer classes.\n\n## Changes\n- Run producer creation and transaction operations with the connector classloader.\n- Restore the original thread context classloader after operations.\n- Add regression tests for producer creation, commit, and abort.\n\n## Verification\n- Targeted Kafka committer, transaction sender, and Kafka client utility tests pass.\n- Connector Kafka dependency reactor package succeeds.\n- Spotless check and git diff check pass.


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [PR] [Fix][Connector-V2][Kafka] Use connector classloader in committer [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12485:
URL: https://github.com/apache/seatunnel/pull/12485#issuecomment-6158091014

   Thanks @Asthenia0412 for flagging the CI problem. I checked head `a0040e6`: it is the same commit I approved on 09-27 (the later activity on this PR is only the CI notices), so there is nothing new to re-review and my approval of the source change stands.
   
   On CI: the apache-side `Build` check is only a pointer to a run in your fork, and it reports "Workflow run detection failed" because no `Build` run exists for this head. Pushing more empty commits will not help when GitHub does not create a run for the push. This branch is 134 commits behind `dev` and does not yet contain the manual trigger from #12720, so I suggest:
   
   1. Merge or rebase the latest `dev` into `codex/fix-kafka-committer-classloader-9899` (the PR touches only `KafkaSinkCommitter` and its test, and `dev` has no conflicting change in those files).
   2. In your fork, open the Actions tab, make sure workflows are enabled, select the `Build` workflow and click "Run workflow" on that branch (or just push; either should create the run).
   3. The scheduled status workflow in this repository then adopts the run for the PR's `Build` check.
   
   If no run appears after that, please paste a screenshot of your fork's Actions tab here and we will look further.
   
   This is a static review; I did not execute the PR.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [PR] [Fix][Connector-V2][Kafka] Use connector classloader in committer [seatunnel]

Posted by "zephyr45 (via GitHub) via commits" <co...@seatunnel.apache.org>.
zephyr45 commented on PR #12485:
URL: https://github.com/apache/seatunnel/pull/12485#issuecomment-6980331031

   Hi @Asthenia0412, this fix was approved but closed because the fork CI wouldn't trigger. It still applies: on current `dev`, `KafkaSinkCommitter` only runs `close()` under the connector classloader, while producer creation, commit and abort don't, so #9899 is still open. Do you plan to reopen this? If not, I'd be glad to carry it forward in a new PR with you credited as co-author. Happy to leave it with you if you'd rather finish it.


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [PR] [Fix][Connector-V2][Kafka] Use connector classloader in committer [seatunnel]

Posted by "Asthenia0412 (via GitHub)" <gi...@apache.org>.
Asthenia0412 commented on PR #12485:
URL: https://github.com/apache/seatunnel/pull/12485#issuecomment-6148984533

   Hi maintainers! I pushed empty commits to retrigger CI but the fork repo's Build workflow doesn't seem to be triggering on push. Only Notify test workflow and labeler show pending. Could someone help trigger the Build? 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: commits-unsubscribe@seatunnel.apache.org

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


Re: [PR] [Fix][Connector-V2][Kafka] Use connector classloader in committer [seatunnel]

Posted by "Asthenia0412 (via GitHub)" <gi...@apache.org>.
Asthenia0412 closed pull request #12485: [Fix][Connector-V2][Kafka] Use connector classloader in committer
URL: https://github.com/apache/seatunnel/pull/12485


-- 
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: commits-unsubscribe@seatunnel.apache.org

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