This operation returns information about a Shadow Topic on a Shadow Link. A Shadow Topic is a resource created automatically by a Shadow Link. The Shadow Topic 'shadows' a topic on a source cluster, mirroring the data and properties of that topic.
This operation returns information about a Shadow Topic on a Shadow Link. A Shadow Topic is a resource created automatically by a Shadow Link. The Shadow Topic 'shadows' a topic on a source cluster, mirroring the data and properties of that topic.
POST
/redpanda.core.admin.v2.ShadowLinkService/GetShadowTopic
curl \
--request POST 'http://localhost:9644/redpanda.core.admin.v2.ShadowLinkService/GetShadowTopic' \
--header "Content-Type: application/json" \
--header "Connect-Protocol-Version: 1" \
--header "Connect-Timeout-Ms: 42.0" \
--data '{"name":"string","shadowLinkName":"string"}'
Request examples
# Headers
Connect-Protocol-Version: 1
Connect-Timeout-Ms: 42.0
# Payload
{
"name": "string",
"shadowLinkName": "string"
}
Response examples (200)
{
"shadowTopic": {
"name": "string",
"sourceTopicId": "string",
"sourceTopicName": "string",
"status": {
"partitionInformation": [
{
"highWatermark": 42,
"partitionId": 42,
"sourceHighWatermark": 42,
"sourceLastStableOffset": 42,
"sourceLastUpdatedTimestamp": "2023-01-15T01:30:15.01Z"
}
],
"state": "SHADOW_TOPIC_STATE_UNSPECIFIED"
},
"topicId": "string"
}
}
Response examples (default)
{
"code": "not_found",
"details": [
{
"debug": {},
"type": "string",
"value": "@file"
}
],
"message": "string"
}