gcp-pubsub-publish

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: 10 Imported by: 0

README

gcp-pubsub-publish

Build Status Go Report Card License MIT

gcp-pubsub-publish reads from stdin and publishes each line as a message to the specified GCP Pub/Sub topic.

Installation

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

Usage

gcp-pubsub-publish [-credentials=<...>] -project=<...> -topic=<...>

  -credentials string
        path to a GCP credentials file
  -project string
        Pub/Sub project ID
  -topic string
        Pub/Sub topic
  -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