gcp-pubsub-subscribe

command
v0.0.0-...-3ca6755 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 12 Imported by: 0

README

gcp-pubsub-subscribe

Build Status Go Report Card License MIT

gcp-pubsub-subscribe reads from the specified GCP Pub/Sub subscription and writes each message followed by a newline to stdout.

Installation

go install github.com/TV4/gcp-tools/cmd/gcp-pubsub-subscribe@latest

Usage

gcp-pubsub-subscribe [-credentials=<...>] -project=<...> -subscription=<...>

  -ack
        ack messages
  -credentials string
    	path to a GCP credentials file
  -project string
        Pub/Sub project ID
  -quiet
        do not print messages (side-effect: more speed)
  -subscription string
        Pub/Sub subscription name
  -version
        shows version info

GCP credentials file:
  https://developers.google.com/identity/protocols/application-default-credentials

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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