Google Cloud Pub/Sub

Download 44
Last updated Aug 5, 2023

gcp-pubsub-messages

Subscribe Pub/Sub messages from Google Cloud Platform.

gcp-pubsub-messages [profile=PROFILE] subscription-id=SUBSCRIPTION-ID window=INT{y|mon|w|d|h|m|s}
profile=PROFILE
The identifier of Google Cloud Pub/Sub connect profile.
subscription-id=SUBSCRIPTION-ID
The subscription ID of Google Cloud Pub/Sub.
window=INT{y|mon|w|d|h|m|s}
Receive messages in realtime for specified duration. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example, 10s means real-time data for 10 seconds timeout.

Output Fields

FieldTypeNameDescription
_timeDateTimePublished time.
profileStringProfileThe identifier of Google Cloud Pub/Sub connect profile
msg_idStringMessage IDUnique message ID within the topic.
msgStringMessageUTF-8 decoded message.
attrsMapAttributesKey-value pairs.