It appears that when you start the connector again, the SourceTaskOffsetCommitter is attempting to flush offsets while the database history is still being recovered. This results in the warning message that Hrvoje originally reported. Given that the recovery can take some time, I suspect that he was stopping the connector prior to the recovery finishing.
Here is an example log output. This one was triggered by the connector being down for longer than the binlog retention, and then restarted several times, but its the same symptom:
2020-10-06 11:44:54,372 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:44:54,373 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:44:54,419 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:44:54,420 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:44:54,420 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:45:54,374 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:45:54,374 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:45:54,421 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:45:54,421 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:45:54,421 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:46:54,374 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:46:54,374 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:46:54,422 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:46:54,422 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:46:54,422 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:47:54,376 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:47:54,376 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:47:54,422 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:47:54,422 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:47:54,422 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:48:54,376 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:48:54,377 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:48:54,423 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:48:54,423 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:48:54,423 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:49:54,377 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:49:54,377 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:49:54,423 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:49:54,423 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:49:54,423 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:50:54,378 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:50:54,378 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:50:54,424 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:50:54,424 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:50:54,424 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:51:54,378 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:51:54,378 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:51:54,425 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:51:54,425 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:51:54,426 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:52:54,379 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=inventory-connector-0} Committing offsets
2020-10-06 11:52:54,379 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=inventory-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:52:54,427 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@424] - WorkerSourceTask{id=database-name-connector-0} Committing offsets
2020-10-06 11:52:54,428 - INFO [SourceTaskOffsetCommitter-1:WorkerSourceTask@441] - WorkerSourceTask{id=database-name-connector-0} flushing 0 outstanding messages for offset commit
2020-10-06 11:52:54,428 - WARN [SourceTaskOffsetCommitter-1:BaseSourceTask@238] - Couldn't commit processed log positions with the source database due to a concurrent connector shutdown or restart
2020-10-06 11:53:26,859 - INFO [task-thread-database-name-connector-0:ConsumerCoordinator@292] - [Consumer clientId=database-name-connector-dbhistory, groupId=database-name-connector-dbhistory] Revoke previously assigned partitions dbhistory.database-name-0
2020-10-06 11:53:26,859 - INFO [task-thread-database-name-connector-0:AbstractCoordinator@979] - [Consumer clientId=database-name-connector-dbhistory, groupId=database-name-connector-dbhistory] Member database-name-connector-dbhistory-e3023304-ae59-4297-964f-629eead72a0b sending LeaveGroup request to coordinator
cdhost.example.com:9093 (id:
2147483646 rack: null) due to the consumer is being closed
2020-10-06 11:53:26,873 - INFO [task-thread-database-name-connector-0:DatabaseHistoryMetrics@119] - Finished database history recovery of 20131238 change(s) in 571343 ms