pubsub

command
v0.0.0-...-de0298f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

README

Setup

Before you can run or deploy this sample, you will need to configure a Pub/Sub topic and subscription:

  1. Enable the Cloud Pub/Sub API in the Google Developers Console.

  2. Create a topic and subscription.

     $ gcloud alpha pubsub topics create [your-topic-name]
     $ gcloud alpha pubsub subscriptions create [your-subscription-name] \
         --topic [your-topic-name] \
         --push-endpoint \
             https://[your-app-id].appspot.com/pubsub/push \
         --ack-deadline 30
    
  3. Update the environment variables in app.yaml.

Documentation

Overview

Sample pubsub demonstrates use of the cloud.google.com/go/pubsub package from App Engine flexible environment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL