title: Health Check for Kafka Connectors
body: <p>I have several <code>Kafka connectors</code> in production. Sometimes one of these connectors dies with the error message:</p>
  
  <blockquote>
    <p>ERROR WorkerSinkTask{id=jdbc-sink-0} Task threw an uncaught and
    unrecoverable exception
    (org.apache.kafka.connect.runtime.WorkerTask:172)
    org.apache.kafka.common.errors.WakeupException    at</p>
  </blockquote>
  
  <p>...</p>
  
  <blockquote>
    <p>ERROR WorkerSinkTask{id=jdbc-sink-0} Task is being killed and
    will not recover until manually restarted
    (org.apache.kafka.connect.runtime.WorkerTask:173)</p>
  </blockquote>
  
  <p>The strange thing is, the REST-API for this dead connector still says that everything is ok.</p>
  
  <p>What is the best practice to monitor such situation?</p>