Skip to content

Not able to setup basic CDC #324

@saisadashivaK

Description

@saisadashivaK

Hi, I have setup a single node cluster on one my PC using -
yugabyted start
Next, I used -
yb-admin -master_addresses 0.0.0.0:7100 create_change_data_stream ysql.yugabyte
The produced stream id was copied by me.
Next, I built the debezium yugabyte connector as per instructions from this link

After running curl like specified -
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" \ localhost:8083/connectors/ \ -d '{ "name": "ybconnector", "config": { "connector.class": "io.debezium.connector.yugabytedb.YugabyteDBConnector", "database.hostname":"'", "database.port":"5433", "database.master.addresses": "'':7100", "database.user": "yugabyte", "database.password": "yugabyte", "database.dbname" : "yugabyte", "database.server.name": "dbserver1", "table.include.list":"public.reviews", "database.streamid":"", "snapshot.mode":"never" } }'

However, I am getting {"error_code": 500, "message": "Request timed out"}.
Also I am getting
Error while trying to get the tablet list to poll for CDC; will attempt to retry 2 of 5 after 60000 milli-seconds. Exception: {} org.yb.client.NonRecoverableException: Too many attempts:..
How to get this working??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions