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


The following commit(s) were added to refs/heads/main by this push:
     new 422cec8d3763 Avoid link to apache archive server directly (#978)
422cec8d3763 is described below

commit 422cec8d376306095e8d1a40f72020142dcd37a2
Author: Yike Xiao <[email protected]>
AuthorDate: Tue Jan 7 20:44:47 2025 +0800

    Avoid link to apache archive server directly (#978)
    
    Co-authored-by: Lari Hotari <[email protected]>
---
 docs/administration-pulsar-shell.md                         | 4 ++--
 docs/client-libraries-cpp.md                                | 2 +-
 docs/getting-started-standalone.md                          | 2 +-
 docs/io-canal-source.md                                     | 8 ++++----
 docs/io-rabbitmq-source.md                                  | 8 ++++----
 src/components/ConnectorTable.js                            | 2 +-
 src/components/ReleaseTable.js                              | 2 +-
 versioned_docs/version-3.0.x/administration-pulsar-shell.md | 4 ++--
 versioned_docs/version-3.0.x/client-libraries-cpp.md        | 2 +-
 versioned_docs/version-3.0.x/getting-started-standalone.md  | 2 +-
 versioned_docs/version-3.0.x/io-canal-source.md             | 8 ++++----
 versioned_docs/version-3.0.x/io-rabbitmq-source.md          | 8 ++++----
 versioned_docs/version-4.0.x/administration-pulsar-shell.md | 4 ++--
 versioned_docs/version-4.0.x/client-libraries-cpp.md        | 2 +-
 versioned_docs/version-4.0.x/getting-started-standalone.md  | 2 +-
 versioned_docs/version-4.0.x/io-canal-source.md             | 8 ++++----
 versioned_docs/version-4.0.x/io-rabbitmq-source.md          | 8 ++++----
 17 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/docs/administration-pulsar-shell.md 
b/docs/administration-pulsar-shell.md
index f5403f858754..9aecabea9214 100644
--- a/docs/administration-pulsar-shell.md
+++ b/docs/administration-pulsar-shell.md
@@ -21,10 +21,10 @@ It's great for quickly switching between different 
clusters, and can modify clus
 
 
 ## Install Pulsar Shell
-Download the tarball from the [download page](pathname:///download) and 
extract it.
+Download the tarball from the [download page](pathname:///download#shell) and 
extract it.
 
 ```shell
-wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-shell-@pulsar:[email protected]
+curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-shell-@pulsar:[email protected]?action=download";
 tar xzvf apache-pulsar-shell-@pulsar:[email protected]
 cd apache-pulsar-shell-@pulsar:version@/
 ```
diff --git a/docs/client-libraries-cpp.md b/docs/client-libraries-cpp.md
index 49a6d31fdd38..65a0705e6ad2 100644
--- a/docs/client-libraries-cpp.md
+++ b/docs/client-libraries-cpp.md
@@ -35,7 +35,7 @@ You can use a Pulsar C++ client to create Pulsar 
[producers](concepts-clients.md
 
 The new version of the Pulsar C++ client starts from 3.0.0 and has been no 
longer consistent with Pulsar since 2.10.x. For the latest releases, see the 
[Download](/download/) page.
 
-Take the [3.0.0 
release](https://archive.apache.org/dist/pulsar/pulsar-client-cpp-3.0.0/) for 
example, there are following subdirectories:
+Take the [3.0.0 release](pathname:///download#pulsar-c-client) for example, 
there are following subdirectories:
 - apk-arm64: the Alpine Linux packages for ARM64 architectures
 - apk-x86_64: the Alpine Linux packages for x64 architectures
 - deb-arm64: the Debian-based Linux packages for ARM64 architectures
diff --git a/docs/getting-started-standalone.md 
b/docs/getting-started-standalone.md
index c970656302f7..1f6be940d0e9 100644
--- a/docs/getting-started-standalone.md
+++ b/docs/getting-started-standalone.md
@@ -26,7 +26,7 @@ Also, you need the proper 64-bit JRE/JDK version installed. 
Please refer to [Pul
 Download the official Apache Pulsar distribution:
 
 ```bash
-wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]
+curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]?action=download";
 ```
 
 Once downloaded, unpack the tar file:
diff --git a/docs/io-canal-source.md b/docs/io-canal-source.md
index 40b107a93ad6..2583c205fc77 100644
--- a/docs/io-canal-source.md
+++ b/docs/io-canal-source.md
@@ -121,8 +121,8 @@ Here is an example of storing MySQL data using the 
configuration file as above.
 7. Start Pulsar standalone.
 
    ```bash
-   docker pull apachepulsar/pulsar:2.3.0
-   docker run -d -it --link pulsar-canal-server -p 6650:6650 -p 8080:8080 -v 
$PWD/data:/pulsar/data --name pulsar-standalone apachepulsar/pulsar:2.3.0 
bin/pulsar standalone
+   docker pull apachepulsar/pulsar:@pulsar:version@
+   docker run --user 0 -d -it --link pulsar-canal-server -p 6650:6650 -p 
8080:8080 -v $PWD/data:/pulsar/data --name pulsar-standalone 
apachepulsar/pulsar:@pulsar:version@ bin/pulsar standalone
    ```
 
 8. Modify the configuration file `canal-mysql-source-config.yaml`.
@@ -167,9 +167,9 @@ Here is an example of storing MySQL data using the 
configuration file as above.
 
    ```bash
    docker exec -it pulsar-standalone /bin/bash
-   wget 
https://archive.apache.org/dist/pulsar/pulsar-2.3.0/connectors/pulsar-io-canal-2.3.0.nar
 -P connectors
+   curl -LO --output-dir connectors 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-canal-@pulsar:[email protected]?action=download";
    ./bin/pulsar-admin source localrun \
-      --archive $PWD/connectors/pulsar-io-canal-2.3.0.nar \
+      --archive $PWD/connectors/pulsar-io-canal-@pulsar:[email protected] \
       --classname org.apache.pulsar.io.canal.CanalStringSource \
       --tenant public \
       --namespace default \
diff --git a/docs/io-rabbitmq-source.md b/docs/io-rabbitmq-source.md
index 70342ddc29ae..eed082f832ef 100644
--- a/docs/io-rabbitmq-source.md
+++ b/docs/io-rabbitmq-source.md
@@ -101,17 +101,17 @@ This example describes how to use the RabbitMQ source 
connector to feed data fro
 1. Get a Pulsar package and start Pulsar in standalone mode.
 
    ```bash
-   wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]
+   curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]?action=download";
    tar xvfz apache-pulsar-@pulsar:[email protected]
    cd apache-pulsar-@pulsar:version@
    bin/pulsar standalone
    ```
 
-2. Download the [nar package](https://archive.apache.org/dist/pulsar/) 
corresponding to Pulsar's version and copy the following file to Pulsar's 
directory.
+2. Download the [nar package](pathname:///download#connectors) corresponding 
to Pulsar's version and copy the following file to Pulsar's directory.
 
     ```bash
-    wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-rabbitmq-@pulsar:[email protected]
-    cp pulsar-io-rabbitmq-@pulsar:[email protected] ./connectors
+    cd connectors
+    curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-rabbitmq-@pulsar:[email protected]?action=download";
     ```
 
 3. Messages published to a topic lacking at least one durable subscription are 
automatically marked as ready for deletion by default. We can set a retention 
policy at the namespace level to prevent this.
diff --git a/src/components/ConnectorTable.js b/src/components/ConnectorTable.js
index ed227bb111c4..69e242a1963a 100644
--- a/src/components/ConnectorTable.js
+++ b/src/components/ConnectorTable.js
@@ -11,7 +11,7 @@ export default function VersionsTable(props) {
     <Table size="small">
       <TableBody>
         <TableRow key="header">
-          {["IO connector", "Archive", "Crypto files"].map((header) => (
+          {["IO connector", "Archive", "Checksum & Signature"].map((header) => 
(
             <TableCell
               className="border-gray-300 font-bold"
               sx={{ border: 1, color: "inherit" }}
diff --git a/src/components/ReleaseTable.js b/src/components/ReleaseTable.js
index 5965b428f5bc..3fba472bbff2 100644
--- a/src/components/ReleaseTable.js
+++ b/src/components/ReleaseTable.js
@@ -11,7 +11,7 @@ export default function VersionsTable(props) {
     <Table size="small">
       <TableBody>
         <TableRow key="header">
-          {["Release", "Link", "Crypto files"].map((header) => (
+          {["Release", "Link", "Checksum & Signature"].map((header) => (
             <TableCell
               className="border-gray-300 font-bold"
               sx={{ border: 1, color: "inherit" }}
diff --git a/versioned_docs/version-3.0.x/administration-pulsar-shell.md 
b/versioned_docs/version-3.0.x/administration-pulsar-shell.md
index 148b940755fa..6a7e0913373e 100644
--- a/versioned_docs/version-3.0.x/administration-pulsar-shell.md
+++ b/versioned_docs/version-3.0.x/administration-pulsar-shell.md
@@ -20,10 +20,10 @@ It's great for quickly switching between different 
clusters, and can modify clus
 
 
 ## Install Pulsar Shell
-Download the tarball from the [download page](pathname:///download) and 
extract it.
+Download the tarball from the [download page](pathname:///download#shell) and 
extract it.
 
 ```shell
-wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-shell-@pulsar:[email protected]
+curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-shell-@pulsar:[email protected]?action=download";
 tar xzvf apache-pulsar-shell-@pulsar:[email protected]
 cd apache-pulsar-shell-@pulsar:[email protected]
 ```
diff --git a/versioned_docs/version-3.0.x/client-libraries-cpp.md 
b/versioned_docs/version-3.0.x/client-libraries-cpp.md
index 7f583f235c4e..72467a4fe477 100644
--- a/versioned_docs/version-3.0.x/client-libraries-cpp.md
+++ b/versioned_docs/version-3.0.x/client-libraries-cpp.md
@@ -35,7 +35,7 @@ You can use a Pulsar C++ client to create Pulsar 
[producers](concepts-clients.md
 
 The new version of the Pulsar C++ client starts from 3.0.0 and has been no 
longer consistent with Pulsar since 2.10.x. For the latest releases, see the 
[Download](/download/) page.
 
-Take the [3.0.0 
release](https://archive.apache.org/dist/pulsar/pulsar-client-cpp-3.0.0/) for 
example, there are following subdirectories:
+Take the [3.0.0 release](pathname:///download#pulsar-c-client) for example, 
there are following subdirectories:
 - apk-arm64: the Alpine Linux packages for ARM64 architectures
 - apk-x86_64: the Alpine Linux packages for x64 architectures
 - deb-arm64: the Debian-based Linux packages for ARM64 architectures
diff --git a/versioned_docs/version-3.0.x/getting-started-standalone.md 
b/versioned_docs/version-3.0.x/getting-started-standalone.md
index 9a59019c2014..e8581c22dbdf 100644
--- a/versioned_docs/version-3.0.x/getting-started-standalone.md
+++ b/versioned_docs/version-3.0.x/getting-started-standalone.md
@@ -23,7 +23,7 @@ Also, you need the proper 64-bit JRE/JDK version installed. 
Please refer to [Pul
 Download the official Apache Pulsar distribution:
 
 ```bash
-wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]
+curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]?action=download";
 ```
 
 Once downloaded, unpack the tar file:
diff --git a/versioned_docs/version-3.0.x/io-canal-source.md 
b/versioned_docs/version-3.0.x/io-canal-source.md
index 40b107a93ad6..2583c205fc77 100644
--- a/versioned_docs/version-3.0.x/io-canal-source.md
+++ b/versioned_docs/version-3.0.x/io-canal-source.md
@@ -121,8 +121,8 @@ Here is an example of storing MySQL data using the 
configuration file as above.
 7. Start Pulsar standalone.
 
    ```bash
-   docker pull apachepulsar/pulsar:2.3.0
-   docker run -d -it --link pulsar-canal-server -p 6650:6650 -p 8080:8080 -v 
$PWD/data:/pulsar/data --name pulsar-standalone apachepulsar/pulsar:2.3.0 
bin/pulsar standalone
+   docker pull apachepulsar/pulsar:@pulsar:version@
+   docker run --user 0 -d -it --link pulsar-canal-server -p 6650:6650 -p 
8080:8080 -v $PWD/data:/pulsar/data --name pulsar-standalone 
apachepulsar/pulsar:@pulsar:version@ bin/pulsar standalone
    ```
 
 8. Modify the configuration file `canal-mysql-source-config.yaml`.
@@ -167,9 +167,9 @@ Here is an example of storing MySQL data using the 
configuration file as above.
 
    ```bash
    docker exec -it pulsar-standalone /bin/bash
-   wget 
https://archive.apache.org/dist/pulsar/pulsar-2.3.0/connectors/pulsar-io-canal-2.3.0.nar
 -P connectors
+   curl -LO --output-dir connectors 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-canal-@pulsar:[email protected]?action=download";
    ./bin/pulsar-admin source localrun \
-      --archive $PWD/connectors/pulsar-io-canal-2.3.0.nar \
+      --archive $PWD/connectors/pulsar-io-canal-@pulsar:[email protected] \
       --classname org.apache.pulsar.io.canal.CanalStringSource \
       --tenant public \
       --namespace default \
diff --git a/versioned_docs/version-3.0.x/io-rabbitmq-source.md 
b/versioned_docs/version-3.0.x/io-rabbitmq-source.md
index d0c35b6d2072..05f560cb1dc7 100644
--- a/versioned_docs/version-3.0.x/io-rabbitmq-source.md
+++ b/versioned_docs/version-3.0.x/io-rabbitmq-source.md
@@ -101,17 +101,17 @@ This example describes how to use the RabbitMQ source 
connector to feed data fro
 1. Get a Pulsar package and start Pulsar in standalone mode.
 
    ```bash
-   wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]
+   curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]?action=download";
    tar xvfz apache-pulsar-@pulsar:[email protected]
    cd apache-pulsar-@pulsar:version@
    bin/pulsar standalone
    ```
 
-2. Download the [nar package](https://archive.apache.org/dist/pulsar/) 
corresponding to Pulsar's version and copy the following file to Pulsar's 
directory.
+2. Download the [nar package](pathname:///download#connectors) corresponding 
to Pulsar's version and copy the following file to Pulsar's directory.
 
     ```bash
-    wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-rabbitmq-@pulsar:[email protected]
-    cp pulsar-io-rabbitmq-@pulsar:[email protected] ./connectors
+    cd connectors
+    curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-rabbitmq-@pulsar:[email protected]?action=download";
     ```
 
 3. Set the retention of the namespace, otherwise the messages into the 
Pulsar's topic which have not the subscription have been immediately deleted.
diff --git a/versioned_docs/version-4.0.x/administration-pulsar-shell.md 
b/versioned_docs/version-4.0.x/administration-pulsar-shell.md
index f5403f858754..9aecabea9214 100644
--- a/versioned_docs/version-4.0.x/administration-pulsar-shell.md
+++ b/versioned_docs/version-4.0.x/administration-pulsar-shell.md
@@ -21,10 +21,10 @@ It's great for quickly switching between different 
clusters, and can modify clus
 
 
 ## Install Pulsar Shell
-Download the tarball from the [download page](pathname:///download) and 
extract it.
+Download the tarball from the [download page](pathname:///download#shell) and 
extract it.
 
 ```shell
-wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-shell-@pulsar:[email protected]
+curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-shell-@pulsar:[email protected]?action=download";
 tar xzvf apache-pulsar-shell-@pulsar:[email protected]
 cd apache-pulsar-shell-@pulsar:version@/
 ```
diff --git a/versioned_docs/version-4.0.x/client-libraries-cpp.md 
b/versioned_docs/version-4.0.x/client-libraries-cpp.md
index 49a6d31fdd38..65a0705e6ad2 100644
--- a/versioned_docs/version-4.0.x/client-libraries-cpp.md
+++ b/versioned_docs/version-4.0.x/client-libraries-cpp.md
@@ -35,7 +35,7 @@ You can use a Pulsar C++ client to create Pulsar 
[producers](concepts-clients.md
 
 The new version of the Pulsar C++ client starts from 3.0.0 and has been no 
longer consistent with Pulsar since 2.10.x. For the latest releases, see the 
[Download](/download/) page.
 
-Take the [3.0.0 
release](https://archive.apache.org/dist/pulsar/pulsar-client-cpp-3.0.0/) for 
example, there are following subdirectories:
+Take the [3.0.0 release](pathname:///download#pulsar-c-client) for example, 
there are following subdirectories:
 - apk-arm64: the Alpine Linux packages for ARM64 architectures
 - apk-x86_64: the Alpine Linux packages for x64 architectures
 - deb-arm64: the Debian-based Linux packages for ARM64 architectures
diff --git a/versioned_docs/version-4.0.x/getting-started-standalone.md 
b/versioned_docs/version-4.0.x/getting-started-standalone.md
index c970656302f7..1f6be940d0e9 100644
--- a/versioned_docs/version-4.0.x/getting-started-standalone.md
+++ b/versioned_docs/version-4.0.x/getting-started-standalone.md
@@ -26,7 +26,7 @@ Also, you need the proper 64-bit JRE/JDK version installed. 
Please refer to [Pul
 Download the official Apache Pulsar distribution:
 
 ```bash
-wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]
+curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]?action=download";
 ```
 
 Once downloaded, unpack the tar file:
diff --git a/versioned_docs/version-4.0.x/io-canal-source.md 
b/versioned_docs/version-4.0.x/io-canal-source.md
index 40b107a93ad6..2583c205fc77 100644
--- a/versioned_docs/version-4.0.x/io-canal-source.md
+++ b/versioned_docs/version-4.0.x/io-canal-source.md
@@ -121,8 +121,8 @@ Here is an example of storing MySQL data using the 
configuration file as above.
 7. Start Pulsar standalone.
 
    ```bash
-   docker pull apachepulsar/pulsar:2.3.0
-   docker run -d -it --link pulsar-canal-server -p 6650:6650 -p 8080:8080 -v 
$PWD/data:/pulsar/data --name pulsar-standalone apachepulsar/pulsar:2.3.0 
bin/pulsar standalone
+   docker pull apachepulsar/pulsar:@pulsar:version@
+   docker run --user 0 -d -it --link pulsar-canal-server -p 6650:6650 -p 
8080:8080 -v $PWD/data:/pulsar/data --name pulsar-standalone 
apachepulsar/pulsar:@pulsar:version@ bin/pulsar standalone
    ```
 
 8. Modify the configuration file `canal-mysql-source-config.yaml`.
@@ -167,9 +167,9 @@ Here is an example of storing MySQL data using the 
configuration file as above.
 
    ```bash
    docker exec -it pulsar-standalone /bin/bash
-   wget 
https://archive.apache.org/dist/pulsar/pulsar-2.3.0/connectors/pulsar-io-canal-2.3.0.nar
 -P connectors
+   curl -LO --output-dir connectors 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-canal-@pulsar:[email protected]?action=download";
    ./bin/pulsar-admin source localrun \
-      --archive $PWD/connectors/pulsar-io-canal-2.3.0.nar \
+      --archive $PWD/connectors/pulsar-io-canal-@pulsar:[email protected] \
       --classname org.apache.pulsar.io.canal.CanalStringSource \
       --tenant public \
       --namespace default \
diff --git a/versioned_docs/version-4.0.x/io-rabbitmq-source.md 
b/versioned_docs/version-4.0.x/io-rabbitmq-source.md
index 70342ddc29ae..eed082f832ef 100644
--- a/versioned_docs/version-4.0.x/io-rabbitmq-source.md
+++ b/versioned_docs/version-4.0.x/io-rabbitmq-source.md
@@ -101,17 +101,17 @@ This example describes how to use the RabbitMQ source 
connector to feed data fro
 1. Get a Pulsar package and start Pulsar in standalone mode.
 
    ```bash
-   wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]
+   curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/apache-pulsar-@pulsar:[email protected]?action=download";
    tar xvfz apache-pulsar-@pulsar:[email protected]
    cd apache-pulsar-@pulsar:version@
    bin/pulsar standalone
    ```
 
-2. Download the [nar package](https://archive.apache.org/dist/pulsar/) 
corresponding to Pulsar's version and copy the following file to Pulsar's 
directory.
+2. Download the [nar package](pathname:///download#connectors) corresponding 
to Pulsar's version and copy the following file to Pulsar's directory.
 
     ```bash
-    wget 
https://archive.apache.org/dist/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-rabbitmq-@pulsar:[email protected]
-    cp pulsar-io-rabbitmq-@pulsar:[email protected] ./connectors
+    cd connectors
+    curl -LO 
"https://www.apache.org/dyn/closer.lua/pulsar/pulsar-@pulsar:version@/connectors/pulsar-io-rabbitmq-@pulsar:[email protected]?action=download";
     ```
 
 3. Messages published to a topic lacking at least one durable subscription are 
automatically marked as ready for deletion by default. We can set a retention 
policy at the namespace level to prevent this.

Reply via email to