Open ttrading opened 3 years ago
Can you provide the exact Kafka record that you're sending?
If it's literally { "type": "Point", "time": 1560507792000, "value": 5 }
the problem is that you are sending Kafka records without a key.
Kafka Connect ArangoDB currently relies on the Kafka record key to create documents. However, it looks like this isn't required by ArangoDB so this is something we'll have to fix.
I just downloaded ArangoDB 3.7.10 and kafka-connect-arangodb sink connector on the server as our Kafka Broker to test the integration (OS:ubuntu20). Use the quick start guide to start everything but somehow getting an error when I produce the following JSON message to the designated topic:
{ "type": "Point", "time": 1560507792000, "value": 5 }
My quickstart-kafka-connect-arangodb-sink property file is as follows:
In my standalone kafka connect config file, I set the schema convert options to "false" for key and value. I wish I could give me details but the following is the only thing I see in the output of kafka-connect: