cd confluent-dockerfiles/connect-cluster/classic-with-replicator
docker system prune -f && docker-compose up
watch -d curl localhost:8083
curl localhost:8083 | jq
curl localhost:8083/connector-plugins | jq
curl localhost:8082/v3/clusters | jq
curl -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.sh
curl localhost:8083/connectors/replicator/status | jq
docker-compose exec kafka /usr/bin/kafka-console-producer --broker-list kafka:29092 --topic replicate-me
Open Confluent Control Centre http:hostname:9021
Connect to the First Kafka Connect instance
docker-compose exec connect1 bash
Delete the replicator
curl -X DELETE connect1:8083/connectors/replicator