cd confluent-dockerfiles/connect-cluster/classic-with-replicator
docker system prune -f && docker-compose upwatch -d curl localhost:8083curl localhost:8083 | jqcurl localhost:8083/connector-plugins | jqcurl localhost:8082/v3/clusters | jqcurl -X POST -H "Content-Type: application/json" -H "Accept: application/json" \
--data '{"topic_name": "replicate-me", "partitions_count": 4, "replication_factor": 1}' \
"http://localhost:8082/v3/clusters/<cluster-id>/topics" | jq./replicator.shcurl localhost:8083/connectors/replicator/status | jqdocker-compose exec kafka /usr/bin/kafka-console-producer --broker-list kafka:29092 --topic replicate-meOpen Confluent Control Centre http:hostname:9021
Connect to the First Kafka Connect instance
docker-compose exec connect1 bashDelete the replicator
curl -X DELETE connect1:8083/connectors/replicator