-
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.
Description
For a Cloud Function I need to immediately publish and so I assume I need to set maxMessages=1 and maxMilliseconds=0 when calling pubsub.topic(...).publisher({ batching: { maxMessages: 1, maxMilliseconds: 0 } }) but this is not documented and I needed to look at the source (which was fine but I hope I have made the correct assumption about how to setup immediate send):
The documentation is available on the topic though:
https://googlecloudplatform.github.io/google-cloud-node/#/docs/pubsub/0.14.0/pubsub/topic?method=publisher
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.