-
Bug
-
Resolution: Done
-
Minor
-
0.10.0.Beta4
-
None
When a Postgres connector has recently started and has nothing to commit, it'll raise a NPE:
2019-09-03 11:15:57,274 ERROR || WorkerSourceTask{id=usabilla-outbox-form-management-0} Exception thrown while calling task.commit() [org.apache.kafka.connect.runtime.WorkerSourceTask]
java.lang.NullPointerException
at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.commitOffset(PostgresStreamingChangeEventSource.java:152)
at io.debezium.pipeline.ChangeEventSourceCoordinator.commitOffset(ChangeEventSourceCoordinator.java:109)
at io.debezium.connector.postgresql.PostgresConnectorTask.commit(PostgresConnectorTask.java:182)
at org.apache.kafka.connect.runtime.WorkerSourceTask.commitSourceTask(WorkerSourceTask.java:507)