We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd41c31 commit 184f9bbCopy full SHA for 184f9bb
1 file changed
packages/pubsub/src/topic.js
@@ -369,6 +369,9 @@ Topic.prototype.getSubscriptionsStream = function(options) {
369
* box your message in to an object with a `data` and `attributes` property.
370
* `data` will be the raw message value you want to publish, and
371
* `attributes` is a key/value pair of attributes to apply to the message.
372
+ * All messages not provided as `Buffer` will be published in JSON format.
373
+ * If your receiving end uses another library, make sure it parses the
374
+ * message properly.
375
* @param {object=} options - Configuration object.
376
* @param {boolean} options.raw - Enable if you require setting attributes on
377
* your messages.
0 commit comments