Skip to content
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

[Source Connector] ERROR: Graceful stop of task failed #58

Closed
NJAldwin opened this issue Oct 5, 2020 · 2 comments
Closed

[Source Connector] ERROR: Graceful stop of task failed #58

NJAldwin opened this issue Oct 5, 2020 · 2 comments

Comments

@NJAldwin
Copy link

NJAldwin commented Oct 5, 2020

For longer polling durations, the task will spend most of its time asleep. If the task is asleep when it is getting killed, such as when a rebalance is happening or the config is changed, the task is likely not to return within the configured graceful timeout period, instead causing Graceful stop of task connector_name-0 failed. errors.

We suspect this may be leading to some issues we are seeing with connectors seemingly "hanging", (with only the table monitor thread running).

FWIW the confluent connector seems to have also experienced this issue: confluentinc/kafka-connect-jdbc#677

I have a PR with a fix: #59

@ivanyu
Copy link
Contributor

ivanyu commented Oct 12, 2020

Hi @NJAldwin
A very relevant issue and fix.
We'll check it shortly.

@ivanyu
Copy link
Contributor

ivanyu commented Oct 20, 2020

Done by #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants