Operations related to managing mirroring setups between Kafka and Kafka Connect clusters.
Lists all current mirroring configurations for the given cluster
Successfully retrieved all mirroring configs
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "mirrors": [
- {
- "id": "ff4fccf3-2ac0-494b-9f40-e95288dd752d",
- "connectorName": "source.target.stFR45Jhdg5r",
- "topicsRegex": ".*"
}
]
}
Creates a new mirroring configuration that will be set up asynchronously. Returns an id that represents the configuration
Create new mirror request
Successfully created new mirroring config
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "sourceType": "custom",
- "useRenaming": true,
- "kafkaSource": "ff4fccf3-2ac0-494b-9f40-e95288dd752d",
- "usePrivateIps": false,
- "sourceAlias": "production-west",
- "topicsRegex": "west-.*",
- "maxTasks": 3
}
{- "mirrorId": "ff4fccf3-2ac0-494b-9f40-e95288dd752d"
}
Get details about a specific mirroring configuration
Successfully retrieved mirroring config detail
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "id": "ff4fccf3-2ac0-494b-9f40-e95288dd752d",
- "status": "IN_SYNC",
- "connectorName": "source.target.stFR45Jhdg5r",
- "targetLatency": 30000,
- "topicsRegex": ".*",
- "mirrorStatus": "RUNNING",
- "checkpointStatus": "RUNNING",
- "topicStatuses": [
- {
- "name": "instaclustr-sla",
- "averageLatency": 153,
- "averageRate": 1
}
]
}
Deletes a specific mirroring configuration, shutting down all its connectors and tasks
Successfully deleted mirroring config
Bad Request
Not Authorized
Forbidden. User doesn't have permission to perform this operation
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "status": 0,
- "message": "string",
- "errorDetails": { },
- "code": 0,
- "link": "string"
}
Updates a mirror's target latency. The target latency is the measure above which this mirror will be considered out of sync.
Successfully updated target latency
Bad Request
Not Authorized
Forbidden. User doesn't have permission to perform this operation
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "newTargetLatency": 1000
}
{- "status": 0,
- "message": "string",
- "errorDetails": { },
- "code": 0,
- "link": "string"
}