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

tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f9a741  chore: update gitignore and add note in README (#311)
2f9a741 is described below

commit 2f9a74159e3b6931e1a2cb7254a8424d901619c0
Author: tison <[email protected]>
AuthorDate: Wed Apr 5 21:36:14 2023 +0800

    chore: update gitignore and add note in README (#311)
    
    Signed-off-by: tison <[email protected]>
---
 .gitignore | 1 +
 README.md  | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index b6ad8df..cd28973 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,5 +25,6 @@ report/
 *.tar.gz
 *.tgz
 pkg/linux/pulsar-cpp/
+pkg/mac/build-pulsar/
 lib/
 src/cert.pem
diff --git a/README.md b/README.md
index 56b19bb..e51dbd0 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ const Pulsar = require('pulsar-client');
     data: Buffer.from("hello")
   });
 
-  // Receive the message 
+  // Receive the message
   const msg = await consumer.receive();
   console.log(msg.getData().toString());
   consumer.acknowledge(msg);
@@ -134,6 +134,10 @@ npm install
 
 To verify it has been installed successfully, you can run an example like:
 
+> **Note**
+>
+> A running Pulsar server is required. The example uses 
`pulsar://localhost:6650` to connect to the server.
+
 ```shell
 node examples/producer
 ```

Reply via email to