Prerequisites
- Collect the following information about your YugabyteDB cluster:
- Master addresses
- DB Stream ID
- DB User and password
Quick Start
- Setup the kcctl client: doc
- Setup a YugabyteDB cluster, you can create one in k8s cluster with below yaml file:
- Create a JSON file like the following:
- Run the following command to create the connector:
Configuration
The YugabyteDB CDC Kafka Source connector is configured using the following Required properties:Property | Description |
---|---|
database.master.addresses | The addresses of the YugabyteDB master nodes. |
database.server.name | The name of the YugabyteDB server. |
database.dbname | The name of the YugabyteDB database. |
database.user | The user name for the YugabyteDB database. |
database.password | The password for the YugabyteDB database. |
database.streamid | The stream ID for the YugabyteDB database. |
database.hostname | The hostname for the YugabyteDB database. |
database.port | The port for the YugabyteDB database. |