Reports the progress of a topic's storage mode migration from local
or tiered_v1 to cloud or tiered_v2: the topic-level status and
how many of its partitions have finished migrating. The controller
records partition progress about every 10 seconds, so it can trail the
actual migration by about that much.
POST
/redpanda.core.admin.v2.TopicService/GetTopicStorageModeMigrationStatus
curl \
--request POST 'http://localhost:9644/redpanda.core.admin.v2.TopicService/GetTopicStorageModeMigrationStatus' \
--header "Content-Type: application/json" \
--header "Connect-Protocol-Version: 1" \
--header "Connect-Timeout-Ms: 42.0" \
--data '{
"topic": "string"
}'
Request examples
# Headers
Connect-Protocol-Version: 1
Connect-Timeout-Ms: 42.0
# Payload
{
"topic": "string"
}
Response examples (200)
{
"backedOffPartitions": [
42
],
"migratedFrom": "string",
"partitionsAdmitted": 42,
"partitionsComplete": 42,
"partitionsToMigrate": 42,
"status": "TOPIC_STORAGE_MODE_MIGRATION_STATUS_UNSPECIFIED"
}
Response examples (default)
{
"code": "not_found",
"details": [
{
"debug": {},
"type": "string",
"value": "@file"
}
],
"message": "string"
}