Request Parameters
The ID of the Kafka Connector
Request Parameters
Custom property values, depending on the connector type. Given values will be
changed on the connector. You can check the documentation of the related
connector.
Response Parameters
ID of the Kafka connector
Name of the Kafka connector
ID of the kafka cluster of the connector
Creation time of the topic
Error message, if the connector failed
Topics that are given with properties config
Class of the created connector
Encoded username for the connector
Time to live for connector
curl -X POST \
https://api.upstash.com/v2/kafka/update-connector/:id \
-u 'EMAIL:API_KEY' \
-d '{"connector.class": "com.mongodb.kafka.connect.MongoSourceConnector","connection.uri": "connection-uri-update"}'
{
"connector_id": "431ec970-b59d-4b00-95fe-5f3abcc52c2f",
"name": "connectorName",
"customer_id": "EMAIL",
"cluster_id": "7568431c-88d5-4409-a808-2167f22a7133",
"creation_time": 1684369147,
"deletion_time": 0,
"state": "failed",
"state_error_message": "Connector configuration is invalid and contains the following 1 error(s):\nInvalid value connection-uri-update for configuration connection.uri: The connection string is invalid. Connection strings must start with either 'mongodb://' or 'mongodb+srv://\n",
"connector_state": "",
"tasks": [],
"topics": [],
"connector_class": "com.mongodb.kafka.connect.MongoSourceConnector",
"encoded_username": "YXBwYXJlbnQta2l0ZS0xMTMwMiTIqFhTItzgDdE56au6LgnnbtlN7ITzh4QATDw",
"TTL": 1684370947
}