Interacting with Kafka Connect
The primary interface for interacting with Kafka Connect is the Kafka Connect REST API. To use it, you will need a TLS capable HTTP client such as curl or Postman.
- First, you must ensure that your IP or IP range has been authorised to access the REST API. On your cluster’s Settings page, make sure there is an IP range that includes your IP:
- All of the nodes in your cluster will be running a REST API that you can connect to. They all have equal functionality, so you can connect to any of them
- You will need to obtain the access credentials for your REST API from the Connection Info page. If your HTTP client is configured to verify the server identity, you will also need to obtain your Kafka Connect cluster’s server certificates from the Connection Info page:
- With this information, you can now confirm your access to the REST API by issuing a simple request to show you which connectors are available in your cluster. NOTE: if Private Network add-on is enabled, you need to set up VPC peering before accessing the API, more information is at Connect to Kafka and Kafka Connect Using VPC Peering (AWS)1curl https://<NODE_IP>:8083/connector-plugins -k -u <YOUR_USER>:<YOUR_PASSWORD>