2024-01-14 22:11:46,129 ERROR [starrocks-kafka-connector|task-0] WorkerSinkTask{id=starrocks-kafka-connector-0} Task threw an uncaught and unrecoverable exception. Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask) [task-thread-starrocks-kafka-connector-0]
Caused by: java.lang.NullPointerException: Cannot invoke "com.starrocks.connector.kafka.json.JsonConverterConfig.decimalFormat()" because "config" is null
at com.starrocks.connector.kafka.json.JsonConverter$1.toJson(JsonConverter.java:141)
at com.starrocks.connector.kafka.json.JsonConverter.convertToJson(JsonConverter.java:569)
at com.starrocks.connector.kafka.json.JsonConverter.convertToJson(JsonConverter.java:656)
at com.starrocks.connector.kafka.StarRocksSinkTask.getRecordFromSinkRecord(StarRocksSinkTask.java:220)
at com.starrocks.connector.kafka.StarRocksSinkTask.put(StarRocksSinkTask.java:258)
I tried to add or remove this, but nothing changed:
Steps to reproduce the behavior (Required)
I'm trying to run Kafka Connector on strimzi kafka connect cluster with these values:
But I get this error message:
I tried to add or remove this, but nothing changed:
I have also tried:
But the same result.
StarRocks version (Required)
StarRocks version 3.1.7-7e897e2