-
Notifications
You must be signed in to change notification settings - Fork 639
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
Hi,
I am trying to subscribe created topic on pubsub for that i am using
var gcloud = require('gcloud');
var pubsub1 = gcloud.pubsub({
projectId: 'ProjectID',
keyFilename: KeyFile(Buffer format)
});
pubsub1.createTopic('topicName', function(err, topic) {
});
var _topicCreated = pubsub1.topic('topicName')
_topicCreated.subscribe('newSubscription', function(err, subscription) {
}); But using this i am not getting callback of subscription. Is anything missing in this request?
Thanks in advance!!!
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.