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

Support PubSub on AppEngine Standard #1368

Closed
salrashid123 opened this issue Nov 2, 2016 · 2 comments
Closed

Support PubSub on AppEngine Standard #1368

salrashid123 opened this issue Nov 2, 2016 · 2 comments
Assignees

Comments

@salrashid123
Copy link

Pubsub doens't work on GAE standard. Please add support for GAEStandard.
pubsub-java throws the following error on initialization
with

      PubSub pubsub = PubSubOptions.getDefaultInstance().getService();
  error:
   java.lang.NoClassDefFoundError: java.nio.channels.spi.SelectorProvider is a restricted class.
 Please see the Google App Engine developer's guide for more details. at 

(i suspect its not supported if the library now is gRPC only)

@mziccard
Copy link
Contributor

mziccard commented Nov 3, 2016

This is documented in our main README. The reason this is not supported on AppEngine is in fact gRPC not working AE, there is work on the AE side to fix this.

@mziccard mziccard closed this as completed Nov 3, 2016
@salrashid123
Copy link
Author

The other way to look at this is if gcloud-java's pubsub library would support REST (like the datastore implementation or python).
Is the suggestion to wait for AE to support gRPC (vs this client to support rest)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants