Sitelet https://github.com/googleapis/google-cloud-java/issues/1368
Skip to content

Support PubSub on AppEngine Standard #1368

Description

@salrashid123

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)

Activity

  1. mziccard commented on Nov 3, 2016

    @mziccard
    Contributor

    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.

  2. salrashid123 commented on Nov 3, 2016

    @salrashid123
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions