Gcloud alpha pubsub subscription search method exception not found

I have a large number of outstanding messages for a single Google Cloud Pub / Sub subscription. I would prefer not to process every message to get into it, and I cannot delete the subscription manually because it was created using Cloud Deployments.

The gcloud search command seems to me necessary ( https://cloud.google.com/sdk/gcloud/reference/alpha/pubsub/subscriptions/seek ). However, after running this command in the Google cloud shell, I get an exception "method not found":

gcloud alpha pubsub subscriptions seek my_subscription__name --time=2016-11-11T06:20:57
ERROR: (gcloud.alpha.pubsub.subscriptions.seek) Subscription [my_subscription__name:seek] not found: Method not found.

The type of subscription is "Pull".

+4
source share
1 answer

API - . CLI.

+1

Source: https://habr.com/ru/post/1660534/


All Articles