GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-pubsub/samples/README.md at main · googleapis/java-pubsub

This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
25 lines (20 loc) · 742 Bytes
/

README.md

Copy path

File metadata and controls

25 lines (20 loc) · 742 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions

How to run the samples

  1. Clone this repo and navigate to the snippets directory.

    git clone https://github.com/googleapis/java-pubsub
    cd java-pubsub/samples/snippets
  2. Obtain GCP user access credentials via a web flow for your application.

    gcloud auth application-default login
  3. With Maven installed, run a sample that has the to-do section completed:

    mvn clean compile exec:java -Dexec.mainClass=pubsub.CreateTopicExample
  4. To run the samples test:

    mvn -Dtest=pubsub.AdminIT test
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.