From e0587ba6cfb1184064adf0bf0dc35dd16dd7eb80 Mon Sep 17 00:00:00 2001 From: Gourav Kumar Prasad <44532064+gouravk3@users.noreply.github.com> Date: Wed, 16 Oct 2024 06:05:59 +0000 Subject: [PATCH] FIX: readme update for basic CDC setup #324 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b72cb96..29b43205 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The YugabyteDB connector can also be used as a library without Kafka or Kafka Co export IP=$(ipconfig getifaddr en0) # Linux: - export IP=$(hostname -i) + export IP=$(hostname -I | awk '{print $1}') ``` 4. Start a cluster using yugabyted. Note that you need to run yugabyted with the IP of your machine; otherwise, it would consider localhost (which would be mapped to the docker host instead of your machine). The yugabyted binary along with other required binaries can be downloaded from [download.yugabyte.com](https://download.yugabyte.com/). ```sh @@ -77,7 +77,7 @@ The YugabyteDB connector can also be used as a library without Kafka or Kafka Co -d '{ "name": "ybconnector", "config": { - "connector.class": "io.debezium.connector.yugabytedb.YugabyteDBgRPCConnectorctor", + "connector.class": "io.debezium.connector.yugabytedb.YugabyteDBgRPCConnector", "database.hostname":"'$IP'", "database.port":"5433", "database.master.addresses": "'$IP':7100",