This is an automated email from the ASF dual-hosted git repository.
liuyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 5129cda fix(docs): replace pulsarctl in offload docs (#13494)
5129cda is described below
commit 5129cda0e3a4453fd4767cc9deae35a6d6c84671
Author: Eric Shen <[email protected]>
AuthorDate: Mon Dec 27 15:11:18 2021 +0800
fix(docs): replace pulsarctl in offload docs (#13494)
Signed-off-by: Eric Shen <[email protected]>
---
site2/docs/tiered-storage-filesystem.md | 16 ++++++++--------
site2/website-next/docs/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.1/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.2/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.3/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.8.0/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.8.1/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.8.2/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.0/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.1/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.2/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.7.3/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.8.0/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.8.1/tiered-storage-filesystem.md | 16 ++++++++--------
.../version-2.8.2/tiered-storage-filesystem.md | 16 ++++++++--------
15 files changed, 120 insertions(+), 120 deletions(-)
diff --git a/site2/docs/tiered-storage-filesystem.md
b/site2/docs/tiered-storage-filesystem.md
index 8374e24..242efa6 100644
--- a/site2/docs/tiered-storage-filesystem.md
+++ b/site2/docs/tiered-storage-filesystem.md
@@ -392,13 +392,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -408,13 +408,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -439,13 +439,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -476,7 +476,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -491,7 +491,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git a/site2/website-next/docs/tiered-storage-filesystem.md
b/site2/website-next/docs/tiered-storage-filesystem.md
index 352beb9..f3b0bdd 100644
--- a/site2/website-next/docs/tiered-storage-filesystem.md
+++ b/site2/website-next/docs/tiered-storage-filesystem.md
@@ -469,7 +469,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -491,7 +491,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -499,7 +499,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -528,7 +528,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -536,7 +536,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -571,7 +571,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -590,7 +590,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website-next/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
b/site2/website-next/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
index ba15ba5..24084ea 100644
---
a/site2/website-next/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
+++
b/site2/website-next/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
@@ -460,7 +460,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -468,7 +468,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -482,7 +482,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -490,7 +490,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -519,7 +519,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -527,7 +527,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -562,7 +562,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -581,7 +581,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website-next/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
b/site2/website-next/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
index 37b7efe..6d7331a 100644
---
a/site2/website-next/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
+++
b/site2/website-next/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
@@ -461,7 +461,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -469,7 +469,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -483,7 +483,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -491,7 +491,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -520,7 +520,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -528,7 +528,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -563,7 +563,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -582,7 +582,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website-next/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
b/site2/website-next/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
index 37b7efe..6d7331a 100644
---
a/site2/website-next/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
+++
b/site2/website-next/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
@@ -461,7 +461,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -469,7 +469,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -483,7 +483,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -491,7 +491,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -520,7 +520,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -528,7 +528,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -563,7 +563,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -582,7 +582,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website-next/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
b/site2/website-next/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
index 37b7efe..6d7331a 100644
---
a/site2/website-next/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
+++
b/site2/website-next/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
@@ -461,7 +461,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -469,7 +469,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -483,7 +483,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -491,7 +491,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -520,7 +520,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -528,7 +528,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -563,7 +563,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -582,7 +582,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website-next/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
b/site2/website-next/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
index 613b093..2c2e6c8 100644
---
a/site2/website-next/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
+++
b/site2/website-next/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
@@ -468,7 +468,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -476,7 +476,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -490,7 +490,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -498,7 +498,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -527,7 +527,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -535,7 +535,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -570,7 +570,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -589,7 +589,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website-next/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
b/site2/website-next/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
index daca835..cc9c0f8 100644
---
a/site2/website-next/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
+++
b/site2/website-next/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
@@ -468,7 +468,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
@@ -476,7 +476,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M --time
2d
```
@@ -490,7 +490,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -498,7 +498,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -527,7 +527,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
@@ -535,7 +535,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
@@ -570,7 +570,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
@@ -589,7 +589,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
diff --git
a/site2/website/versioned_docs/version-2.7.0/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.7.0/tiered-storage-filesystem.md
index a9a99c1..f4f83d4 100644
--- a/site2/website/versioned_docs/version-2.7.0/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.7.0/tiered-storage-filesystem.md
@@ -393,13 +393,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -409,13 +409,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -440,13 +440,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -492,7 +492,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git
a/site2/website/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
index fd558e9..7099097 100644
--- a/site2/website/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.7.1/tiered-storage-filesystem.md
@@ -392,13 +392,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -408,13 +408,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -439,13 +439,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -476,7 +476,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -491,7 +491,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git
a/site2/website/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
index b5e06380..9aa2e11 100644
--- a/site2/website/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.7.2/tiered-storage-filesystem.md
@@ -393,13 +393,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -409,13 +409,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -440,13 +440,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -492,7 +492,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git
a/site2/website/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
index e7c2b7d..7289f9e 100644
--- a/site2/website/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.7.3/tiered-storage-filesystem.md
@@ -393,13 +393,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -409,13 +409,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -440,13 +440,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -492,7 +492,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git
a/site2/website/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
index 7695c2f..adb9f20 100644
--- a/site2/website/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.8.0/tiered-storage-filesystem.md
@@ -393,13 +393,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -409,13 +409,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -440,13 +440,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -492,7 +492,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git
a/site2/website/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
index 91e4d90..5c00220 100644
--- a/site2/website/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.8.1/tiered-storage-filesystem.md
@@ -393,13 +393,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -409,13 +409,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -440,13 +440,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -492,7 +492,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
diff --git
a/site2/website/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
b/site2/website/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
index 69bed8c..47f818c 100644
--- a/site2/website/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
+++ b/site2/website/versioned_docs/version-2.8.2/tiered-storage-filesystem.md
@@ -393,13 +393,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
1. Start Pulsar standalone.
```
- ./bin/pulsar standalone -a 127.0.0.1
+ bin/pulsar standalone -a 127.0.0.1
```
2. To ensure the data generated is not deleted immediately, it is recommended
to set the [retention
policy](https://pulsar.apache.org/docs/en/next/cookbooks-retention-expiry/#retention-policies),
which can be either a **size** limit or a **time** limit. The larger value you
set for the retention policy, the longer the data can be retained.
```
- ./bin/pulsarctl namespaces set-retention public/default --size 100M --time
2d
+ bin/pulsar-admin namespaces set-retention public/default --size 100M
--time 2d
```
> **Tip**
@@ -409,13 +409,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
3. Produce data using pulsar-client.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
4. The offloading operation starts after a ledger rollover is triggered. To
ensure offload data successfully, it is recommended that you wait until several
ledger rollovers are triggered. In this case, you might need to wait for a
second. You can check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -440,13 +440,13 @@ Execute the following commands in the repository where
you download Pulsar tarba
5. Wait a second and send more messages to the topic.
```
- ./bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
+ bin/pulsar-client produce -m "Hello FileSystem Offloader" -n 1000
public/default/fs-test
```
6. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topics internal-stats public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**
@@ -477,7 +477,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
7. Trigger the offloading operation manually using pulsarctl.
```
- ./bin/pulsarctl topic offload -s 0 public/default/fs-test
+ bin/pulsar-admin topics offload -s 0 public/default/fs-test
```
**Output**
@@ -492,7 +492,7 @@ Execute the following commands in the repository where you
download Pulsar tarba
8. Check the ledger status using pulsarctl.
```
- ./bin/pulsarctl topic internal-info public/default/fs-test
+ bin/pulsar-admin topics stats-internal public/default/fs-test
```
**Output**