-
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: OS X 10.12.3
- Node.js version: v6.10.0
- npm version: 3.10.10
- @google-cloud/pubsub version: 0.9.0
Steps to reproduce
- require
@google-cloud/pubsub - publish a message
topic.publish('someMessage')(as described in the documentation) - pull the message and it will have
"someMessage"as data
I think this is caused because the message data is being stringified if it is not a Buffer here but I do not think it is the intended behaviour? At least the documentation does not make it clear.
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.