gcp_pubsub

Sends messages to a GCP Cloud Pub/Sub topic. Metadata from messages are sent as attributes.

# Config fields, showing default values
output:
gcp_pubsub:
project: ""
topic: ""
max_in_flight: 1

For information on how to set up credentials check out this guide.

Performance

This output benefits from sending multiple messages in flight in parallel for improved performance. You can tune the max number of in flight messages with the field max_in_flight.

Fields

project

The project ID of the topic to publish to.

Type: string
Default: ""

topic

The topic to publish to.

Type: string
Default: ""

max_in_flight

The maximum number of messages to have in flight at a given time. Increase this to improve throughput.

Type: number
Default: 1