@Override
    public void stop() {
        // Offset commit is handled upon exit in work thread
        super.stop();
        consumer.wakeup();
    }
{@link WorkerTask} that uses a {@link SinkTask} to export data from Kafka.
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSinkTask.java