You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current IAM role for Subscriber only gives the following permissions:
pubsub.subscriptions.consume
pubsub.topics.attachSubscription
This library uses pubsub.subscriptions.get when constructing the subscriber. This causes a permission denied exception to be thrown.
It is not documented anywhere that the Java client library requires this permission. My assumption as a user is that the IAM role for subscriber gives me all the required permissions to subscribe. For Java Publisher, the publisher role has all the needed permissions using the IAM publisher role. For Python Subscriber, Subscriber IAM role has sufficient permissions.
Activity
pongad commentedon Nov 9, 2017
Polling subscription has already been deprecated. Streaming pull, landed in v0.21, should not need this permission anymore.
feat: Exponentially backoff on INTERNAL errors for Default streams (#…
deps: update dependency com.google.cloud:google-cloud-trace to v2.82.0 (
chore(main): release 2.35.0 (googleapis#2335)
deps: update dependency com.google.cloud:google-cloud-storage to v2.4…
deps: update dependency com.google.cloud:google-cloud-storage to v2.4…
fix: enforce read-before-write in transaction execute() (#2358)
fix: time based flakiness in execute query deadline test (googleapis#…