yashmayya commented on PR #14101: URL: https://github.com/apache/kafka/pull/14101#issuecomment-1652085859
Adding to what Sagar said above - this whole machinery is intentional because there is a mechanism [here](https://github.com/apache/kafka/blob/6d81698ba4cb9c62185b0a50cc81ddea3047994d/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Worker.java#L1075-L1083) to cancel / abandon tasks that can't be stopped within `task.shutdown.graceful.timeout.ms` (worker configuration) and avoid blocking indefinitely. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org