Hi again,
Failed to process record: Failed to process a sink record [io.debezium.connector.jdbc.JdbcSinkConnectorTask]
So we’ve figured out you might be using Debezium for the job? Maybe ingredients from the other tutorial at Replicating data to CrateDB with Debezium and Kafka can support your struggles for a better outcome?
I am very sorry I am not a Debezium/Kafka expert, but as far as I can correlate your configuration shared here, in particular that fragment…
"auto.create": "true", "auto.evolve": "true", "insert.mode": "upsert", "pk.mode": "record_key", "pk.fields": "_id", "delete.enabled": "true",
with the error message in focus…
Caused by: org.apache.kafka.connect.errors.ConnectException: Configured primary key mode 'record_value' cannot have null schema
and then compare it against this fragment from the other tutorial…
"auto.create": "false", "auto.evolve": "false", "insert.mode": "upsert", "pk.fields": "id", "pk.mode": "record_value",
… we can see a deviation in the pk.mode configuration to refer to record_key instead of record_value like in the example blueprint? Is it possible that the cause for your problems are in that area of the destination connector configuration?
With kind regards,
Andreas.