Skip to content

chrusty/tail-pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

tail-pubsub

Tail a Google PUB/SUB topic

Usage:

$ ./tail-pubsub -h
Usage of ./tail-pubsub:
  -batchsize=1: How many messages to get at once
  -project="": Google project-name
  -topic="": PUB/SUB topic name to subscribe to

Credentials:

Credentials can either be derived from a credentials file, or from instance permissions:

  • Credentials-file should be '~/.config/gcloud/application_default_credentials.json'
  • Alternatively you can use any other file: export GOOGLE_APPLICATION_CREDENTIALS=~/Downloads/credentials-file.json
  • Instance permissions required:

About

Tail a Google PUB/SUB topic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages