diff --git a/kafka-connector-cdc/README.md b/kafka-connector-cdc/README.md index 2567160..5a5b5c0 100644 --- a/kafka-connector-cdc/README.md +++ b/kafka-connector-cdc/README.md @@ -7,10 +7,12 @@ 3. Download kafaka-connect-dse-2.0.0-20190925-LABS.jar from [DataStax Labs]() and place it within this directory. ## Start the components -3. Start up the stack `docker-compose up -d` +1. Start up the stack `docker-compose up -d` + +If for some reason a component does not come up due a dependency being down try running this command again. ## Configure DSE -4. Configure DSE schema +1. Configure DSE schema ``` docker-compose exec dse cqlsh @@ -25,14 +27,14 @@ ); ``` -5. Enable DSE Advanced Replication Destination for Kafka +2. Enable DSE Advanced Replication Destination for Kafka ``` docker-compose exec dse dse advrep destination create --name demo_destination --transmission-enabled true docker-compose exec dse dse advrep destination list ``` -6. Enable DSE Advanced Replication Channel for `demo_ks.demo_table` +3. Enable DSE Advanced Replication Channel for `demo_ks.demo_table` ``` docker-compose exec dse dse advrep channel create --data-center-id dc1 --source-keyspace demo_ks --source-table demo_table --destination demo_destination --transmission-enabled true --collection-enabled true @@ -40,20 +42,20 @@ ``` ## Configure Kafka and the Connector -7. Connect to the Confluent Control Panel http://localhost:9021/ -8. Select the only cluster -9. Click "Topics" in the left sidebar -10. Click "Add a topic" in the top right corner -11. Enter the following parameters then click "Create with defaults" +1. Connect to the Confluent Control Panel http://localhost:9021/ +2. Select the only cluster +3. Click "Topics" in the left sidebar +4. Click "Add a topic" in the top right corner +5. Enter the following parameters then click "Create with defaults" Topic name: demo-topic Number of partitions: 1 -12. Open "Connect" in the left sidebar -13. Click "connect-default" -14. Click "Add Connector" -15. Click "Connect" under "DseSourceConnector" -16. Enter the following parameters and click "Continue" +6. Open "Connect" in the left sidebar +7. Click "connect-default" +8. Click "Add Connector" +9. Click "Connect" under "DseSourceConnector" +10. Enter the following parameters and click "Continue" Name: demo-connector Tasks max: 1 @@ -62,10 +64,10 @@ topic: demo-topic destination: demo_destination contact_points: dse -17. Verify configuration parameters and click "Launch" +11. Verify configuration parameters and click "Launch" ## Insert data to be replicated -18. Start `cqlsh` and insert data +1. Start `cqlsh` and insert data ``` docker-compose exec dse cqlsh