Hello, We're developing a Kafka Connect plugin and seeing some strange behavior around error handling. When an exception is thrown in the task's poll method, the task transitions into the failed state as expected. However, when I watch the logs, I still see errors being logged from the commit method every second or so. I would expect Connect not to continue calling commit on a task that is failed. Is there something I'm missing here?
More generally, I've had a hard time finding documentation around how the Connect framework deals with exceptions. If anyone has a pointer to docs I've missed or a good example of plugin failure handling, I'd really appreciate it. Thanks, Luke