Skip to main content
Version: 2.4-dev

Google Pub/Sub Nodes

Google Cloud Pub/Sub is a fully managed, real-time messaging service used for event streaming, microservice communication, and data pipeline ingestion. MaestroHub provides a Publish node so you can send messages to Pub/Sub topics within your pipelines.

Configuration Quick Reference

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.
Google Pub/Sub Publish node configuration

Google Pub/Sub Publish Node

Google Pub/Sub Publish Node

Publish messages to Google Pub/Sub topics with support for ordering keys, custom attributes, and dynamic payload templates.

Supported Function Types:

Function NamePurposeCommon Use Cases
PublishSend messages to a Pub/Sub topic with configurable payload, ordering key, and attributesEvent broadcasting, IoT telemetry streaming, cross-service notifications, data pipeline ingestion

How It Works

When the pipeline executes, the Publish node:

  1. Connects to Google Cloud Pub/Sub using the selected connection profile
  2. Serializes the message payload (JSON or text) with the configured ordering key and attributes
  3. Publishes the message to the target topic via the Pub/Sub gRPC API
  4. Returns delivery confirmation including the message ID assigned by Pub/Sub

Configuration

FieldWhat you chooseDetails
ConnectionGoogle Pub/Sub connection profileSelect a pre-configured connection from your connection library
FunctionPublish functionChoose a Pub/Sub Publish function that defines the topic, payload, ordering key, and attributes
Function ParametersMessage valuesConfigure dynamic values for topic, payload, ordering key, and attributes using expressions or constants

For detailed function configuration options including ordering key semantics and attribute formatting, see the Google Pub/Sub Publish Function documentation.

Looking for event-driven pipeline triggers?

If you want to automatically start a pipeline when Pub/Sub messages arrive (rather than publish within an already-running pipeline), use the Google Pub/Sub Trigger Node instead.