Anonymous¶
This example connects to an AeroSpike instance without authentication.
{
"connector.class" : "com.github.jcustenborder.kafka.connect.aerospike.AerospikeSinkConnector",
"topic" : "<required setting>",
"namespace" : "test",
"hosts" : "127.0.0.1:3000"
}
{
"topic" : "dataTypeBOOLEANnull",
"kafkaPartition" : 0,
"keySchema" : {
"type" : "STRING",
"isOptional" : false
},
"key" : "key-dataTypeBOOLEANnull",
"valueSchema" : {
"type" : "STRUCT",
"isOptional" : false,
"fieldSchemas" : {
"testField" : {
"type" : "BOOLEAN",
"isOptional" : false
}
}
},
"value" : {
"schema" : {
"type" : "STRUCT",
"isOptional" : false,
"fieldSchemas" : {
"testField" : {
"type" : "BOOLEAN",
"isOptional" : false
}
}
},
"fieldValues" : [ {
"name" : "testField",
"schema" : {
"type" : "BOOLEAN",
"isOptional" : false
},
"storage" : true
} ]
},
"timestampType" : "NO_TIMESTAMP_TYPE",
"offset" : 0,
"headers" : [ ]
}
The following data is written to the target.
"put('dataTypeBOOLEANnull', {'testField':true})"