Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: pubsub delete topic #689

Merged
merged 1 commit into from
Jun 25, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs: pubsub delete topic
In v1beta2, deleting a topic does *not* delete corresponding subscriptions

"Deletes the topic with the given name. Returns NOT_FOUND if the topic does
 not exist. After a topic is deleted, a new topic may be created with the
 same name; this is an entirely new topic with none of the old configuration
 or subscriptions. Existing subscriptions to this topic are not deleted."

source: <https://cloud.google.com/pubsub/reference/rest/v1beta2/projects/topics/delete>
chrishiestand committed Jun 25, 2015
commit 67d2039ba0e8adec90e23a2dcdaf42f19ef69dad
2 changes: 1 addition & 1 deletion lib/pubsub/topic.js
Original file line number Diff line number Diff line change
@@ -206,7 +206,7 @@ Topic.prototype.publish = function(messages, callback) {
};

/**
* Delete the topic. This will also delete any subscriptions to this topic.
* Delete the topic. This will not delete subscriptions to this topic.
*
* @param {function=} callback - The callback function.
*