-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Prevent sources from hanging if they have orphaned threads #12544
Conversation
@marcosmarxm fyi. lmk how you want to handle publishing this once it's approved, since I don't think we actually want to publish every single source (?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome!
Maybe run one source integration test for each source type before merging just to be safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you run mysql and bump the connector to the user test this too?
I don't we need to bump every connector version though |
/test connector=connectors/source-mysql
|
/test connector=connectors/source-google-ads
|
/test connector=connectors/source-s3
|
/publish connector=connectors/source-mysql
|
/publish connector=connectors/source-mysql
|
What
Closes #5754, #4322, #8218; supersedes #11910
Automatically kill sources (after a delay) if they have no
main
thread. We've had this in destinations for a while; add it to sources as well.How
Use the same
watchForOrphanThreads
wrapper that destinations use when consuming input.