-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Hello World for nodejs stream client #403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pivotal-cla
commented
Apr 24, 2024
@icappello Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Also you need to sign Contributor License Agreement!
pivotal-cla
commented
May 2, 2024
@icappello Thank you for signing the Contributor License Agreement!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have the grant to push
Can you apply this patch?
diff --git a/javascript-nodejs-stream/package.json b/javascript-nodejs-stream/package.json
index 5350de3..480c09d 100644
--- a/javascript-nodejs-stream/package.json
+++ b/javascript-nodejs-stream/package.json
@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Tutorial for the nodejs Rabbitqm stream client",
"scripts": {
- "publish": "node send.js",
+ "send": "node send.js",
"receive": "node receive.js"
},
"dependencies": {
diff --git a/javascript-nodejs-stream/receive.js b/javascript-nodejs-stream/receive.js
index 4522cb6..896e1ac 100644
--- a/javascript-nodejs-stream/receive.js
+++ b/javascript-nodejs-stream/receive.js
@@ -9,8 +9,8 @@ async function main() {
const client = await rabbit.connect({
hostname: "localhost",
port: 5552,
- username: "rabbit",
- password: "rabbit",
+ username: "guest",
+ password: "guest",
vhost: "/",
})
diff --git a/javascript-nodejs-stream/send.js b/javascript-nodejs-stream/send.js
index a6a1480..6a38cfc 100644
--- a/javascript-nodejs-stream/send.js
+++ b/javascript-nodejs-stream/send.js
@@ -8,8 +8,8 @@ async function main() {
vhost: "/",
port: 5552,
hostname: "localhost",
- username: "rabbit",
- password: "rabbit",
+ username: "guest",
+ password: "guest",
});
console.log("Making sure the stream exists...");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Hello World for nodejs stream client