title: Kafka Connect - Failed to commit offsets and flush
body: <p>I had my Kafka Connectors paused and upon restarting them got these errors in my logs</p>
  
  <pre><code>[2020-02-19 19:36:00,219] ERROR WorkerSourceTask{id=wem-postgres-source-0} Failed to commit offsets (org.apache.kafka.connect.runtime.SourceTaskOffsetCommitter)
  ************
  ************
  [2020-02-19 19:36:00,216] ERROR WorkerSourceTask{id=wem-postgres-source-0} Failed to flush, timed out while waiting for producer to flush outstanding 2389 messages (org.apache.kafka.connect.runtime.WorkerSourceTask)
  </code></pre>
  
  <p>I got this error multiple times with the number of outstanding messages changed. Then it stopped and haven't seen it again. </p>
  
  <p>Do I need to take any action here or has Connect retried and committed the offsets and that is why the error has stopped?</p>
  
  <p>Thanks</p>