IBM / cloudant-kafka-connector

A Kafka connector for Cloudant
Apache License 2.0
11 stars 12 forks source link

Add Parameter “replicate” for setting guid_schema and kafka_schema #23

Closed danielLinke closed 7 years ago

danielLinke commented 7 years ago

Add a new parameter “replicate” in the file connect-cloudant-sink.properties. The property handle the schema of the objects in the sink database. The new attribute “replicate” handle and replace the attributes guid_schema and kafka_schema.

If the property true the source object should be mirrored in the sink database. Therefore, the system using the guid_schema from the source object and don’t add the kafka_schema to the object.

If the property false the source object should be saved with additional information in the sink database. Therefore, the system create a new object id from kafka (#8) and add the kafka_schema from the SinkRecord (#9).

HolgerKache commented 7 years ago

Merged.