You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2026/06/23 21:44:18 UTC

(pulsar-site) 09/16: Document pulsar-admin migration and scalable-topics commands

This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit 4bfbe8df6e0d5146355e54c972d92a3b4be03798
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Tue Jun 23 22:31:46 2026 +0300

    Document pulsar-admin migration and scalable-topics commands
    
    The reference doc generator drives pulsar-admin from a hardcoded subcommand
    list that had gone stale: migration and scalable-topics (both new in 5.0.0)
    were never generated. Add them so the list mirrors all pulsar-admin --help
    subcommands (excluding the documents helper), generate the two pages for the
    5.0.x and next reference trees, and list them in both _sidebar.md files.
---
 static/reference/5.0.x/_sidebar.md                 |    2 +
 static/reference/5.0.x/pulsar-admin/migration.md   |   74 ++
 .../5.0.x/pulsar-admin/scalable-topics.md          | 1090 ++++++++++++++++++++
 static/reference/next/_sidebar.md                  |    2 +
 static/reference/next/pulsar-admin/migration.md    |   74 ++
 .../reference/next/pulsar-admin/scalable-topics.md | 1090 ++++++++++++++++++++
 .../lib/execute/pulsar_admin_clidoc_generator.py   |    6 +
 7 files changed, 2338 insertions(+)

diff --git a/static/reference/5.0.x/_sidebar.md b/static/reference/5.0.x/_sidebar.md
index 3d40539231a..3f4af9b1046 100644
--- a/static/reference/5.0.x/_sidebar.md
+++ b/static/reference/5.0.x/_sidebar.md
@@ -22,10 +22,12 @@
     - [clusters](pulsar-admin/clusters.md)
     - [functions](pulsar-admin/functions.md)
     - [functions-worker](pulsar-admin/functions-worker.md)
+    - [migration](pulsar-admin/migration.md)
     - [namespaces](pulsar-admin/namespaces.md)
     - [ns-isolation-policy](pulsar-admin/ns-isolation-policy.md)
     - [sources](pulsar-admin/sources.md)
     - [sinks](pulsar-admin/sinks.md)
+    - [scalable-topics](pulsar-admin/scalable-topics.md)
     - [topics](pulsar-admin/topics.md)
     - [topicPolicies](pulsar-admin/topicPolicies.md)
     - [proxy-stats](pulsar-admin/proxy-stats.md)
diff --git a/static/reference/5.0.x/pulsar-admin/migration.md b/static/reference/5.0.x/pulsar-admin/migration.md
new file mode 100644
index 00000000000..d7217ad42f3
--- /dev/null
+++ b/static/reference/5.0.x/pulsar-admin/migration.md
@@ -0,0 +1,74 @@
+# migration
+
+Operations for metadata store migration
+
+
+```shell
+$ pulsar-admin migration subcommand
+```
+
+
+
+## start
+
+Start metadata store migration to target
+
+**Command:**
+
+```shell
+$ pulsar-admin migration start options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# migration
+
+Operations for metadata store migration
+
+
+```shell
+$ pulsar-admin migration subcommand
+```
+
+
+
+## start
+
+Start metadata store migration to target
+
+**Command:**
+
+```shell
+$ pulsar-admin migration start options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## status
+
+Check migration status
+
+**Command:**
+
+```shell
+$ pulsar-admin migration status options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
diff --git a/static/reference/5.0.x/pulsar-admin/scalable-topics.md b/static/reference/5.0.x/pulsar-admin/scalable-topics.md
new file mode 100644
index 00000000000..0f9b78d9396
--- /dev/null
+++ b/static/reference/5.0.x/pulsar-admin/scalable-topics.md
@@ -0,0 +1,1090 @@
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## merge-segments
+
+Merge two adjacent segments into one
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics merge-segments options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## merge-segments
+
+Merge two adjacent segments into one
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics merge-segments options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## seek
+
+Reset a subscription's cursor on every segment to a given point in time. Pass --time as a relative offset (e.g. 1h, 5d) — the cursor is reset to (now - offset).
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics seek options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## merge-segments
+
+Merge two adjacent segments into one
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics merge-segments options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## seek
+
+Reset a subscription's cursor on every segment to a given point in time. Pass --time as a relative offset (e.g. 1h, 5d) — the cursor is reset to (now - offset).
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics seek options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## clear-backlog
+
+Skip every undelivered message on the subscription, across every segment in the DAG.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics clear-backlog options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
diff --git a/static/reference/next/_sidebar.md b/static/reference/next/_sidebar.md
index 3d40539231a..3f4af9b1046 100644
--- a/static/reference/next/_sidebar.md
+++ b/static/reference/next/_sidebar.md
@@ -22,10 +22,12 @@
     - [clusters](pulsar-admin/clusters.md)
     - [functions](pulsar-admin/functions.md)
     - [functions-worker](pulsar-admin/functions-worker.md)
+    - [migration](pulsar-admin/migration.md)
     - [namespaces](pulsar-admin/namespaces.md)
     - [ns-isolation-policy](pulsar-admin/ns-isolation-policy.md)
     - [sources](pulsar-admin/sources.md)
     - [sinks](pulsar-admin/sinks.md)
+    - [scalable-topics](pulsar-admin/scalable-topics.md)
     - [topics](pulsar-admin/topics.md)
     - [topicPolicies](pulsar-admin/topicPolicies.md)
     - [proxy-stats](pulsar-admin/proxy-stats.md)
diff --git a/static/reference/next/pulsar-admin/migration.md b/static/reference/next/pulsar-admin/migration.md
new file mode 100644
index 00000000000..d7217ad42f3
--- /dev/null
+++ b/static/reference/next/pulsar-admin/migration.md
@@ -0,0 +1,74 @@
+# migration
+
+Operations for metadata store migration
+
+
+```shell
+$ pulsar-admin migration subcommand
+```
+
+
+
+## start
+
+Start metadata store migration to target
+
+**Command:**
+
+```shell
+$ pulsar-admin migration start options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# migration
+
+Operations for metadata store migration
+
+
+```shell
+$ pulsar-admin migration subcommand
+```
+
+
+
+## start
+
+Start metadata store migration to target
+
+**Command:**
+
+```shell
+$ pulsar-admin migration start options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## status
+
+Check migration status
+
+**Command:**
+
+```shell
+$ pulsar-admin migration status options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
diff --git a/static/reference/next/pulsar-admin/scalable-topics.md b/static/reference/next/pulsar-admin/scalable-topics.md
new file mode 100644
index 00000000000..0f9b78d9396
--- /dev/null
+++ b/static/reference/next/pulsar-admin/scalable-topics.md
@@ -0,0 +1,1090 @@
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## merge-segments
+
+Merge two adjacent segments into one
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics merge-segments options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## merge-segments
+
+Merge two adjacent segments into one
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics merge-segments options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## seek
+
+Reset a subscription's cursor on every segment to a given point in time. Pass --time as a relative offset (e.g. 1h, 5d) — the cursor is reset to (now - offset).
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics seek options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+# scalable-topics
+
+Operations on scalable topics
+
+
+```shell
+$ pulsar-admin scalable-topics subcommand
+```
+
+
+
+## list
+
+Get the list of scalable topics under a namespace, optionally filtered to those whose properties contain every given key=value pair
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics list options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## create
+
+Create a new scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics create options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## migrate
+
+Migrate an existing regular (partitioned or non-partitioned) topic to a scalable topic. Fails if legacy v4 clients are still connected unless --force is set.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics migrate options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## get-metadata
+
+Get scalable topic metadata
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics get-metadata options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## stats
+
+Get aggregated stats for a scalable topic
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics stats options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## delete
+
+Delete a scalable topic and all its segments
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics delete options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## split-segment
+
+Split a segment into two halves
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics split-segment options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## merge-segments
+
+Merge two adjacent segments into one
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics merge-segments options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## seek
+
+Reset a subscription's cursor on every segment to a given point in time. Pass --time as a relative offset (e.g. 1h, 5d) — the cursor is reset to (now - offset).
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics seek options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
+
+## clear-backlog
+
+Skip every undelivered message on the subscription, across every segment in the DAG.
+
+**Command:**
+
+```shell
+$ pulsar-admin scalable-topics clear-backlog options
+```
+
+**Options:**
+
+|Flag|Description|Default|
+|---|---|---|
+| `[-h, --help]` | Show this help message and exit.|null||
+| `[-v, --version]` | Print version information and exit.|null||
+
diff --git a/tools/pytools/lib/execute/pulsar_admin_clidoc_generator.py b/tools/pytools/lib/execute/pulsar_admin_clidoc_generator.py
index 533919e7c53..123a9393ec0 100644
--- a/tools/pytools/lib/execute/pulsar_admin_clidoc_generator.py
+++ b/tools/pytools/lib/execute/pulsar_admin_clidoc_generator.py
@@ -30,6 +30,10 @@ def execute(basedir: Path, version: str):
     admin = basedir / 'bin' / 'pulsar-admin'
     reference = site_path() / 'static' / 'reference' / version / 'pulsar-admin'
 
+    # Every `pulsar-admin` subcommand, mirroring `pulsar-admin --help`. Keep this
+    # in sync when subcommands are added or removed; the only command
+    # intentionally omitted is `documents`, which is the doc-generation command
+    # itself.
     commands = [
         'broker-stats',
         'brokers',
@@ -37,10 +41,12 @@ def execute(basedir: Path, version: str):
         'clusters',
         'functions',
         'functions-worker',
+        'migration',
         'namespaces',
         'ns-isolation-policy',
         'sources',
         'sinks',
+        'scalable-topics',
         'topics',
         'topicPolicies',
         'proxy-stats',