Hi all
Anyone have an idea if the command thats executed against the target can be pushed in as a json file… The “command” thats contained in “neo4j.cypher.topic.adults" becomes very very long and it would actually be nice if I could extract it into a separate file where I can format it “nicer”.
{
"name": "neo4j-adults-node-sink",
"config": {
"connector.class": "org.neo4j.connectors.kafka.sink.Neo4jConnector",
"topics": "adults",
"neo4j.uri": "bolt://neo4j:7687",
"neo4j.authentication.basic.username": "neo4j",
"neo4j.authentication.basic.password": "dbpassword",
"neo4j.cypher.topic.adults": "MERGE (t:Adults {nationalid: event.nationalid}) ON CREATE SET t += {nationalid: event.nationalid, _id: event._id, name: event.name, surname: event.surname, gender: event.gender, dob: event.dob, marital_status: event.marital_status, partner: event.partner, status: event.status, parcel_id: event.address.parcel_id}",
"key.converter": "org.apache.kafka.connect.storage.StringConverter",
"value.converter": "org.apache.kafka.connect.json.JsonConverter",
"value.converter.schemas.enable": "false",
"tasks.max": "2",
"neo4j.batch.size": "1000",
"neo4j.batch.timeout.msecs": "5000",
"neo4j.retry.backoff.msecs": "3000",
"neo4j.retry.max.attemps": "5"
}
}