-
Notifications
You must be signed in to change notification settings - Fork 653
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Environment details
- OS: (Google Cloud Function)
- Node.js version: (Google Cloud Function default)
- npm version: (Google Cloud Function)
- google-cloud-node version: ~0.10.0
Steps to reproduce
- const pubsub = require("
@google-cloud/pubsub")(); - const topic = pubsub.topic('my-topic');
- topic..publish('hello!', (err) => console.log(err));
Expected result:
topic subscriber receives
hello!
Observed result
topic subscriber receives
"hello!"
(... i.e. it appears the data payload is escaped into a string before being sent instead of the string content itself being sent)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.