Update Connector Instance
Update the Connector Configuration e.g. number of tasks replicationFactor, add remove topics for replication
Instance id of the connector
demo-connector
Update the Connector Configuration e.g. number of tasks replicationFactor, add remove topics for replication
Show optional properties
{
"targetCluster": {
"authentication": {
"accessToken": "access token",
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCRENDQWV3Q0UxOVF2d25uR25YNWREemZQR2huYXZEU0ZKSXdEUVlKS29aSWh2Y05BUUVMQlFBd1B6RWIKTUJrR0ExVUVDZ3dTVmsxWFlYSmxJRVZ1WjJsdVpXVnlhVzVuTVNBd0hnWURWUVFEREJkMFkyOXdjeTV6ZG1NdQpZMngxYzNSbGNpNXNiMk5oYkRBZUZ3MHlNakF4TVRneE5qSTJNVE5hRncweU16QXhNVGd4TmpJMk1UTmFNRDh4CklEQWVCZ05WQkFNTUYzUmpiM0J6TG5OMll5NWpiSFZ6ZEdWeUxteHZZMkZzTVJzd0dRWURWUVFLREJKV1RWZGgKY21VZ1JXNW5hVzVsWlhKcGJtY3dnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBd2dnRUtBb0lCQVFDdQpoNklsUDMzTFBXM2FTbXd6SFRoTGkzMjFPMThDRVlSWW1pNzBBa2xHWXNzbUh0VG0rL2tvYk0yOHc1V1IwSS92CkJzVHdQaW4wT3ZINXg4dTlJY0ZSTnN0TTFraHJoRmo2SlR0a05CanVxK0huZkxBdjFiSS9RNUVySVQ4aUp5TVgKV2MwTGltUEhpK090ODZCaGQ5QWJwNjlMcTdjbDRReXBWb1dNalFWV01Dc0w2S3R0NTlGOEFGeDVtS25UV1lRbApaNWxYK2NxcGE5ZFVRNXBSdDVRZ04xWUJ6N0c2eFFOS1pERHZrdnVkRm9nMUlyZnNmaTV2d3ByZHJ0OW55Uy9vCnVkcDIyVUpjSjFiYnBnZU5keWMrRWE3ci8zRG5SUXdDY1VMUnZ2WWJUbHdueFVwYXFRN3NYblB3UitvN2ttV0EKTDg0aEZiZl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dGdGY0lCbkR5Rkp2CnBlSXovaUxHVWIvQ1VRa3EzSndKSEthRmRWNkdQWmp3WVd3MktXaEtRYVhlTUIvUXpuZkNQNTdWaENlQnlVMVYKSjl5V3VWUGkzZkh1KzJtMThiYU1Ub2o2UTlrdjBsRVVLc3I3NzVOYnJ1QzVOZ3lMK3d0bmx0S0pXUEJNNmdLVgpOc3BrRmRqQU9DTGdqUTlYSWVIdWtodllTYTU5cURySHhKR3NnNmRTeUVnbFBxRW5zUkRnemJkVWg1Ukp2NUtPCkFZL0IweXJsMTFoc1Y2YUpiS1ZBVERDV0J0dXlaRURLSFVPcUg5VWNPR0NRcmR6T0YxRjdaNlYxQVg0cVpzcmoKY25jTUt0YWZQRk09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0",
"oauthType": "clientSecret",
"password": "kafka_password",
"refreshToken": "refresh token",
"tls": true,
"tokenEndpointUri": "http://10.192.255.163:8180/auth/realms/access-gateway/protocol/openid-connect/token",
"type": "plain",
"username": "kafka_username"
},
"tls": {
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCRENDQWV3Q0UxOVF2d25uR25YNWREemZQR2huYXZEU0ZKSXdEUVlKS29aSWh2Y05BUUVMQlFBd1B6RWIKTUJrR0ExVUVDZ3dTVmsxWFlYSmxJRVZ1WjJsdVpXVnlhVzVuTVNBd0hnWURWUVFEREJkMFkyOXdjeTV6ZG1NdQpZMngxYzNSbGNpNXNiMk5oYkRBZUZ3MHlNakF4TVRneE5qSTJNVE5hRncweU16QXhNVGd4TmpJMk1UTmFNRDh4CklEQWVCZ05WQkFNTUYzUmpiM0J6TG5OMll5NWpiSFZ6ZEdWeUxteHZZMkZzTVJzd0dRWURWUVFLREJKV1RWZGgKY21VZ1JXNW5hVzVsWlhKcGJtY3dnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBd2dnRUtBb0lCQVFDdQpoNklsUDMzTFBXM2FTbXd6SFRoTGkzM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2,
"topics": [
"string"
],
"targetCluster": {
"bootstrapServers": "target-kafka-cluster:9092",
"tls": {
"enabled": true,
"certificate": "base64 encoded certificate"
},
"authentication": {
"enabled": true,
"type": "auth type plain/scram-sha-512/oauth/tls",
"username": "targetuser",
"password": "target password"
}
},
"logging": {
"type": "inline",
"level": "INFO"
},
"resources": {
"limits": {
"cpu": "4000m",
"memory": "8192Mi"
},
"requests": {
"cpu": "1000m",
"memory": "2048Mi"
}
}
}
The maximum number of tasks for the Kafka Connector.
Replication factor for the internal topics and replicated topics.
Topic names to be replicated
Object having details of target kafka cluster and authentication
Logging object containing logging type and logging level
Maximum limits for CPU and memory resources and the requested initial resources.
Returns the Config for updated connector
{
"message": "Connector successfully updated",
"time": "2022-03-29 10:08:55.346489",
"name": "dashboardkafka",
"instanceId": "dashboardkafka",
"display_name": "DashboardKafka",
"status": "pending"
}
The display name of the connector created as provided by the user
The instanceId of the connector created.
The message informs of the success or failure in updating the conenctor
The Name of the connector created.
This specifeis the status of the connector updated. It can be "started", "stopped" or "pending"
The time at which the connector was updated
Topic names to be replicated
Object having details of target kafka cluster and authentication
Logging object containing logging type and logging level
Maximum limits for CPU and memory resources and the requested initial resources.
Invalid Request sent by the user
User authentication failed
Access to the requested resource/operation is forbidden
Cannot find requested resource
Internal server error
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"targetCluster:"object","topics":["string"]}' https://{api_host}/dcc/v1/connectors/{connector-name}