zhaoyajun2009 commented on code in PR #839:
URL: https://github.com/apache/pulsar-site/pull/839#discussion_r1520688431


##########
docs/io-rabbitmq-source.md:
##########
@@ -85,3 +85,104 @@ Before using the RabbitMQ source connector, you need to 
create a configuration f
       passive: "false"
   ```
 
+## Usage
+
+
+### Standalone mode
+
+This example describes how to use the RabbitMQ source connector to feed data 
from RabbitMQ and write data to Pulsar topics in the standalone mode.
+
+#### Prerequisites
+
+- There is a RabbitMQ server with some history messages in the queue.
+
+#### Steps
+
+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]
+   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.
+
+    ```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
+    ```
+
+3. Set the retention of the namespace, otherwise the messages into the 
Pulsar's topic which have not the subscription ware immediately deleted.

Review Comment:
   > Is "ware" a typo here?
   
   Sorry,it has been solved。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to