Hello everybody,
I am currently trying to synchronize one topic from a kafka source cluster to a kafka target cluster. I am using the Confluent Replicator for this task but without the cloud service. Both clusters have a own schema registry.
This is my current configuration:
{
“connector.class”: “io.confluent.connect.replicator.ReplicatorSourceConnector”,
“tasks.max”: “1”,
“src.kafka.bootstrap.servers”: “docker-01:29093”,
“src.schema.registry.url”: “http://mq-schema-registry.docker-01:8081”,
“dest.kafka.bootstrap.servers”: “docker-02:29093”,
“dest.schema.registry.url”: “http://mq-schema-registry.docker-02:8081”,
“topic.whitelist”: “topic_xxx”,
“topic.rename.format”: “TEST_${topic}”,
“confluent.topic.replication.factor”: 1,
“key.converter”: “io.confluent.connect.avro.AvroConverter”,
“value.converter”: “io.confluent.connect.avro.AvroConverter”,
“key.converter.schema.registry.url”: “http://mq-schema-registry.docker-02:8081”,
“value.converter.schema.registry.url”: “http://mq-schema-registry.docker-02:8081”,
“schema.subject.translator.class”: “io.confluent.connect.replicator.schemas.DefaultSubjectTranslator”,
“src.key.converter”: “io.confluent.connect.avro.AvroConverter”,
“src.key.converter.schema.registry.url”: “http://mq-schema-registry.docker-01:8081”,
“src.value.converter”: “io.confluent.connect.avro.AvroConverter”,
“src.value.converter.schema.registry.url”: “http://mq-schema-registry.docker-01:8081”,
“offset.start”: “connect”,
“auto.offset.reset”: “earliest”
}
The sync of my schema from source to target works perfectly fine. But the topic itself makes some troubles. On the target cluster the topic gets created but there is no data synchronized. Additional to that the topic gets created on the source cluster too but with the data in it. Please help me to solve this issue.
Thanks and best regards!